xref: /OK3568_Linux_fs/kernel/arch/x86/include/asm/mmzone_64.h (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun /* SPDX-License-Identifier: GPL-2.0 */
2*4882a593Smuzhiyun /* K8 NUMA support */
3*4882a593Smuzhiyun /* Copyright 2002,2003 by Andi Kleen, SuSE Labs */
4*4882a593Smuzhiyun /* 2.5 Version loosely based on the NUMAQ Code by Pat Gaughen. */
5*4882a593Smuzhiyun #ifndef _ASM_X86_MMZONE_64_H
6*4882a593Smuzhiyun #define _ASM_X86_MMZONE_64_H
7*4882a593Smuzhiyun 
8*4882a593Smuzhiyun #ifdef CONFIG_NUMA
9*4882a593Smuzhiyun 
10*4882a593Smuzhiyun #include <linux/mmdebug.h>
11*4882a593Smuzhiyun #include <asm/smp.h>
12*4882a593Smuzhiyun 
13*4882a593Smuzhiyun extern struct pglist_data *node_data[];
14*4882a593Smuzhiyun 
15*4882a593Smuzhiyun #define NODE_DATA(nid)		(node_data[nid])
16*4882a593Smuzhiyun 
17*4882a593Smuzhiyun #endif
18*4882a593Smuzhiyun #endif /* _ASM_X86_MMZONE_64_H */
19