1 /* SPDX-License-Identifier: GPL-2.0 */
3 * Written by Kanoj Sarcar (kanoj@sgi.com) Aug 99
4 * Rewritten for Linux 2.6 by Christoph Hellwig (hch@lst.de) Jan 2004
11 #ifdef CONFIG_NEED_MULTIPLE_NODES
16 #define pa_to_nid(addr) 0
19 #ifndef nid_to_addrbase
20 #define nid_to_addrbase(nid) 0
23 #ifdef CONFIG_DISCONTIGMEM
25 #define pfn_to_nid(pfn) pa_to_nid((pfn) << PAGE_SHIFT)
27 #endif /* CONFIG_DISCONTIGMEM */
29 #endif /* _ASM_MMZONE_H_ */