linux_dsm_epyc7002/arch/mips/loongson64
Tiezhu Yang 73826d604b MIPS: Loongson64: Clean up numa.c
(1) Replace nid_to_addroffset() with nid_to_addrbase() and then remove the
related useless code.

(2) Since end_pfn = start_pfn + node_psize, use "node_psize" instead of
"end_pfn - start_pfn" to avoid the redundant calculation.

(3) After commit 6fbde6b492 ("MIPS: Loongson64: Move files to the
top-level directory"), CONFIG_ZONE_DMA32 is always set for Loongson64
due to MACH_LOONGSON64 selects ZONE_DMA32, so no need to use ifdef any
more, just remove it.

Signed-off-by: Tiezhu Yang <yangtiezhu@loongson.cn>
Reviewed-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
2020-10-12 11:22:58 +02:00
..
cop2-ex.c MIPS: Fix build warning about "PTR_STR" redefinition 2020-05-30 10:58:30 +02:00
cpucfg-emul.c MIPS: Unify naming style of vendor CP0.Config6 bits 2020-07-08 11:15:53 +02:00
dma.c MIPS: Loongson: Add DMA support for LS7A 2020-05-08 12:00:07 +02:00
env.c MIPS: KVM: Add kvm guest support for Loongson-3 2020-08-04 09:39:29 +02:00
hpet.c MIPS: Replace setup_irq() by request_irq() 2020-03-05 16:47:35 +01:00
init.c MIPS: KVM: Add kvm guest support for Loongson-3 2020-08-04 09:39:29 +02:00
Kconfig MIPS: Loongson64: Mark RS780 HPET as broken 2020-04-20 19:37:01 +02:00
Makefile MIPS: Loongson64: Switch to generic PCI driver 2020-05-27 13:01:56 +02:00
numa.c MIPS: Loongson64: Clean up numa.c 2020-10-12 11:22:58 +02:00
Platform MIPS: Only include the platform file needed 2020-05-13 00:17:18 +02:00
platform.c MIPS: Loongson: Fix potential NULL dereference in loongson3_platform_init() 2020-01-10 14:10:24 -08:00
pm.c MIPS: Loongson64: Move files to the top-level directory 2019-11-01 14:31:28 -07:00
reset.c MIPS: Loongson64: Remove unused loongson_reboot. 2020-09-07 22:17:12 +02:00
setup.c MIPS: Loongson64: Load built-in dtbs 2020-03-25 16:07:12 +01:00
smp.c mips: loongsoon2ef: remove private clk api 2020-04-16 17:34:23 +02:00
smp.h MIPS: Loongson64: Move files to the top-level directory 2019-11-01 14:31:28 -07:00
time.c MIPS: Loongson64: Remove dead RTC code 2020-04-20 19:36:21 +02:00
vbios_quirk.c MIPS: Loongson64: Switch to generic PCI driver 2020-05-27 13:01:56 +02:00