]> Git Repo - linux.git/blob - arch/mips/include/asm/mmzone.h
KVM: s390: prevent buffer overrun on memory hotplug during migration
[linux.git] / arch / mips / include / asm / mmzone.h
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3  * Written by Kanoj Sarcar ([email protected]) Aug 99
4  * Rewritten for Linux 2.6 by Christoph Hellwig ([email protected]) Jan 2004
5  */
6 #ifndef _ASM_MMZONE_H_
7 #define _ASM_MMZONE_H_
8
9 #include <asm/page.h>
10 #include <mmzone.h>
11
12 #ifdef CONFIG_DISCONTIGMEM
13
14 #define pfn_to_nid(pfn)         pa_to_nid((pfn) << PAGE_SHIFT)
15
16 #endif /* CONFIG_DISCONTIGMEM */
17
18 #endif /* _ASM_MMZONE_H_ */
This page took 0.032423 seconds and 4 git commands to generate.