linux/arch/mips/sgi-ip27
Mike Rapoport (Microsoft) 46bcce5031 arch, mm: move definition of node_data to generic code
Every architecture that supports NUMA defines node_data in the same way:

	struct pglist_data *node_data[MAX_NUMNODES];

No reason to keep multiple copies of this definition and its forward
declarations, especially when such forward declaration is the only thing
in include/asm/mmzone.h for many architectures.

Add definition and declaration of node_data to generic code and drop
architecture-specific versions.

Link: https://lkml.kernel.org/r/20240807064110.1003856-8-rppt@kernel.org
Signed-off-by: Mike Rapoport (Microsoft) <rppt@kernel.org>
Acked-by: David Hildenbrand <david@redhat.com>
Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Acked-by: Davidlohr Bueso <dave@stgolabs.net>
Tested-by: Zi Yan <ziy@nvidia.com> # for x86_64 and arm64
Tested-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> [arm64 + CXL via QEMU]
Acked-by: Dan Williams <dan.j.williams@intel.com>
Cc: Alexander Gordeev <agordeev@linux.ibm.com>
Cc: Andreas Larsson <andreas@gaisler.com>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: Christophe Leroy <christophe.leroy@csgroup.eu>
Cc: Dave Hansen <dave.hansen@linux.intel.com>
Cc: David S. Miller <davem@davemloft.net>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Heiko Carstens <hca@linux.ibm.com>
Cc: Huacai Chen <chenhuacai@kernel.org>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Jiaxun Yang <jiaxun.yang@flygoat.com>
Cc: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
Cc: Jonathan Corbet <corbet@lwn.net>
Cc: Michael Ellerman <mpe@ellerman.id.au>
Cc: Palmer Dabbelt <palmer@dabbelt.com>
Cc: Rafael J. Wysocki <rafael@kernel.org>
Cc: Rob Herring (Arm) <robh@kernel.org>
Cc: Samuel Holland <samuel.holland@sifive.com>
Cc: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Vasily Gorbik <gor@linux.ibm.com>
Cc: Will Deacon <will@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
2024-09-03 21:15:28 -07:00
..
ip27-berr.c MIPS: sgi-ip27: Fix missing prototypes 2024-01-22 11:11:49 +01:00
ip27-common.h MIPS: sgi-ip27: Fix missing prototypes 2024-01-22 11:11:49 +01:00
ip27-console.c MIPS: SGI-IP27: Move all shared IP27 declarations to ip27-common.h 2020-01-09 15:30:03 -08:00
ip27-init.c mm: don't include asm/pgtable.h if linux/mm.h is already included 2020-06-09 09:39:13 -07:00
ip27-irq.c MIPS: SGI-IP27: use WARN_ON() output 2024-05-03 14:22:04 +02:00
ip27-klconfig.c MIPS: SGI-IP27: use cpu physid already present while scanning for CPUs 2020-01-09 15:29:46 -08:00
ip27-klnuma.c MIPS: SGI-IP27: Move all shared IP27 declarations to ip27-common.h 2020-01-09 15:30:03 -08:00
ip27-memory.c arch, mm: move definition of node_data to generic code 2024-09-03 21:15:28 -07:00
ip27-nmi.c MIPS: sgi-ip27: Fix missing prototypes 2024-01-22 11:11:49 +01:00
ip27-reset.c MIPS: SGI-IP27: use asm/sn/agent.h for including HUB related stuff 2020-01-09 15:29:50 -08:00
ip27-smp.c MIPS: sgi-ip27: ensure node_possible_map only contains valid nodes 2024-09-03 21:15:27 -07:00
ip27-timer.c MIPS: SGI-IP27: fix spelling in Copyright 2021-03-06 08:43:39 +01:00
ip27-xtalk.c MIPS: SGI-IP27: Fix platform-device leak in bridge_platform_create() 2022-09-19 16:33:27 +02:00
Kconfig MIPS: SGI-IP27: fix exception handler replication 2019-10-31 15:19:59 -07:00
Makefile MIPS: sgi-ip27: Fix missing prototypes 2024-01-22 11:11:49 +01:00
Platform MIPS: Only include the platform file needed 2020-05-13 00:17:18 +02:00