summaryrefslogtreecommitdiffstats
path: root/arch/loongarch/include/asm/mmzone.h
blob: 2b9a90727e191224875e23f041dc3f454a2ed540 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/* SPDX-License-Identifier: GPL-2.0 */
/*
 * Author: Huacai Chen (chenhuacai@loongson.cn)
 * Copyright (C) 2020-2022 Loongson Technology Corporation Limited
 */
#ifndef _ASM_MMZONE_H_
#define _ASM_MMZONE_H_

#include <asm/page.h>
#include <asm/numa.h>

extern struct pglist_data *node_data[];

#define NODE_DATA(nid)	(node_data[(nid)])

#endif /* _ASM_MMZONE_H_ */