From: Thomas Gleixner Date: Wed, 30 Jan 2008 12:30:17 +0000 (+0100) Subject: x86: move page related declaration X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=a89518b882283fdb3e11fb6d1929dc874b380ca8;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git x86: move page related declaration end_pfn is in page.h, so end_pfn_map has a place there as well Signed-off-by: Thomas Gleixner Signed-off-by: Ingo Molnar --- diff --git a/include/asm-x86/page_64.h b/include/asm-x86/page_64.h index c3b52bcb171e..6fdc904a5fa5 100644 --- a/include/asm-x86/page_64.h +++ b/include/asm-x86/page_64.h @@ -41,6 +41,7 @@ #ifndef __ASSEMBLY__ extern unsigned long end_pfn; +extern unsigned long end_pfn_map; void clear_page(void *); void copy_page(void *, void *); diff --git a/include/asm-x86/proto.h b/include/asm-x86/proto.h index 71a419c6e041..7ff3d765de05 100644 --- a/include/asm-x86/proto.h +++ b/include/asm-x86/proto.h @@ -41,8 +41,6 @@ extern void reserve_bootmem_generic(unsigned long phys, unsigned len); extern void load_gs_index(unsigned gs); -extern unsigned long end_pfn_map; - extern void exception_table_check(void); extern void swap_low_mappings(void);