Explorar o código

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 <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Thomas Gleixner %!s(int64=17) %!d(string=hai) anos
pai
achega
a89518b882
Modificáronse 2 ficheiros con 1 adicións e 2 borrados
  1. 1 0
      include/asm-x86/page_64.h
  2. 0 2
      include/asm-x86/proto.h

+ 1 - 0
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 *);

+ 0 - 2
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);