aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/net/lib/py/utils.py
diff options
context:
space:
mode:
authorRandy Dunlap <[email protected]>2024-04-10 21:08:51 +0800
committerHuacai Chen <[email protected]>2024-04-10 21:08:51 +0800
commita07c772fa658645887119184de48b255bf19a46e (patch)
tree98ac57f9e11f7189b2c79ebaf2cf7bb5ee77ede0 /tools/testing/selftests/net/lib/py/utils.py
parent3744e0ee80251149135aac59870147e9ed6faae7 (diff)
LoongArch: Include linux/sizes.h in addrspace.h to prevent build errors
LoongArch's include/asm/addrspace.h uses SZ_32M and SZ_16K, so add <linux/sizes.h> to provide those macros to prevent build errors: In file included from ../arch/loongarch/include/asm/io.h:11, from ../include/linux/io.h:13, from ../include/linux/io-64-nonatomic-lo-hi.h:5, from ../drivers/cxl/pci.c:4: ../include/asm-generic/io.h: In function 'ioport_map': ../arch/loongarch/include/asm/addrspace.h:124:25: error: 'SZ_32M' undeclared (first use in this function); did you mean 'PS_32M'? 124 | #define PCI_IOSIZE SZ_32M Signed-off-by: Randy Dunlap <[email protected]> Signed-off-by: Huacai Chen <[email protected]>
Diffstat (limited to 'tools/testing/selftests/net/lib/py/utils.py')
0 files changed, 0 insertions, 0 deletions