OSDN Git Service

perf/x86/uncore: Correct the number of CHAs on EMR
[tomoyo/tomoyo-test1.git] / arch / loongarch / include / asm / mmzone.h
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 extern void setup_zero_pages(void);
17
18 #endif /* _ASM_MMZONE_H_ */