1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3  * Author: Huacai Chen (chenhuacai@loongson.cn)
4  * Copyright (C) 2020-2022 Loongson Technology Corporation Limited
5  */
6 #ifndef _ASM_MMZONE_H_
7 #define _ASM_MMZONE_H_
8 
9 #include <asm/page.h>
10 #include <asm/numa.h>
11 
12 extern struct pglist_data *node_data[];
13 
14 #define NODE_DATA(nid)	(node_data[(nid)])
15 
16 #endif /* _ASM_MMZONE_H_ */
17