Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost
[cris-mirror.git] / arch / mips / include / asm / mmzone.h
blobf085fba41da501b729da0d419cca6d91a6fceb4a
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3 * Written by Kanoj Sarcar (kanoj@sgi.com) Aug 99
4 * Rewritten for Linux 2.6 by Christoph Hellwig (hch@lst.de) Jan 2004
5 */
6 #ifndef _ASM_MMZONE_H_
7 #define _ASM_MMZONE_H_
9 #include <asm/page.h>
10 #include <mmzone.h>
12 #ifdef CONFIG_DISCONTIGMEM
14 #define pfn_to_nid(pfn) pa_to_nid((pfn) << PAGE_SHIFT)
16 #endif /* CONFIG_DISCONTIGMEM */
18 #endif /* _ASM_MMZONE_H_ */