xref: /openbmc/linux/arch/x86/include/asm/mmzone_64.h (revision 498495dba268b20e8eadd7fe93c140c68b6cc9d2)
1*b2441318SGreg Kroah-Hartman /* SPDX-License-Identifier: GPL-2.0 */
2bb898558SAl Viro /* K8 NUMA support */
3bb898558SAl Viro /* Copyright 2002,2003 by Andi Kleen, SuSE Labs */
4bb898558SAl Viro /* 2.5 Version loosely based on the NUMAQ Code by Pat Gaughen. */
51965aae3SH. Peter Anvin #ifndef _ASM_X86_MMZONE_64_H
61965aae3SH. Peter Anvin #define _ASM_X86_MMZONE_64_H
7bb898558SAl Viro 
8bb898558SAl Viro #ifdef CONFIG_NUMA
9bb898558SAl Viro 
10bb898558SAl Viro #include <linux/mmdebug.h>
11bb898558SAl Viro #include <asm/smp.h>
12bb898558SAl Viro 
13bb898558SAl Viro extern struct pglist_data *node_data[];
14bb898558SAl Viro 
15bb898558SAl Viro #define NODE_DATA(nid)		(node_data[nid])
16bb898558SAl Viro 
17bb898558SAl Viro #endif
181965aae3SH. Peter Anvin #endif /* _ASM_X86_MMZONE_64_H */
19