linux/arch/loongarch
Randy Dunlap a07c772fa6 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 <rdunlap@infradead.org>
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
2024-04-10 21:08:51 +08:00
..
boot LoongArch: Update dts for Loongson-2K2000 to support GMAC/GNET 2024-04-10 21:08:51 +08:00
configs
crypto
include LoongArch: Include linux/sizes.h in addrspace.h to prevent build errors 2024-04-10 21:08:51 +08:00
kernel LoongArch changes for v6.9 2024-03-22 10:22:45 -07:00
kvm LoongArch changes for v6.9 2024-03-22 10:22:45 -07:00
lib
mm LoongArch: Make virt_addr_valid()/__virt_addr_valid() work with KFENCE 2024-04-10 21:08:51 +08:00
net
pci
power
vdso
Kbuild
Kconfig LoongArch changes for v6.9 2024-03-22 10:22:45 -07:00
Kconfig.debug
Makefile LoongArch changes for v6.9 2024-03-22 10:22:45 -07:00