18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */
28c2ecf20Sopenharmony_ci/*
38c2ecf20Sopenharmony_ci * Written by Huacai Chen (chenhuacai@loongson.cn)
48c2ecf20Sopenharmony_ci * Copyright (C) 2020 Loongson Technology Corporation Limited
58c2ecf20Sopenharmony_ci */
68c2ecf20Sopenharmony_ci#ifndef _ASM_MMZONE_H_
78c2ecf20Sopenharmony_ci#define _ASM_MMZONE_H_
88c2ecf20Sopenharmony_ci
98c2ecf20Sopenharmony_ci#include <asm/page.h>
108c2ecf20Sopenharmony_ci#include <asm/numa.h>
118c2ecf20Sopenharmony_ci
128c2ecf20Sopenharmony_ciextern struct pglist_data *node_data[];
138c2ecf20Sopenharmony_ci
148c2ecf20Sopenharmony_ci#define NODE_DATA(nid)	(node_data[(nid)])
158c2ecf20Sopenharmony_ci
168c2ecf20Sopenharmony_ci#endif /* _ASM_MMZONE_H_ */
17