summaryrefslogtreecommitdiff
path: root/arch/x86/mm/mm_internal.h
diff options
context:
space:
mode:
authorYinghai Lu <yinghai@kernel.org>2012-11-16 19:39:01 -0800
committerH. Peter Anvin <hpa@linux.intel.com>2012-11-17 11:59:23 -0800
commit5c51bdbe4c74dce7996d0bbfa39974775cc3f13c (patch)
tree42c95d78f80b73307c4df17c80c03b2e701e7372 /arch/x86/mm/mm_internal.h
parent868bf4d6b94c980d3ad87f892a5e528b8ee2c320 (diff)
x86, mm: Merge alloc_low_page between 64bit and 32bit
They are almost same except 64 bit need to handle after_bootmem case. Add mm_internal.h to make that alloc_low_page() only to be accessible from arch/x86/mm/init*.c Signed-off-by: Yinghai Lu <yinghai@kernel.org> Link: http://lkml.kernel.org/r/1353123563-3103-25-git-send-email-yinghai@kernel.org Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Diffstat (limited to 'arch/x86/mm/mm_internal.h')
-rw-r--r--arch/x86/mm/mm_internal.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/x86/mm/mm_internal.h b/arch/x86/mm/mm_internal.h
new file mode 100644
index 000000000000..b3f993a2555e
--- /dev/null
+++ b/arch/x86/mm/mm_internal.h
@@ -0,0 +1,6 @@
+#ifndef __X86_MM_INTERNAL_H
+#define __X86_MM_INTERNAL_H
+
+void *alloc_low_page(void);
+
+#endif /* __X86_MM_INTERNAL_H */