summaryrefslogtreecommitdiffstats
path: root/arch/loongarch/include/asm/mmzone.h
blob: fe67d0b4b33ddce60d9b28e72b1c942b6bdca91c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/* 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)])

extern void setup_zero_pages(void);

#endif /* _ASM_MMZONE_H_ */