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