]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commitdiff
[PATCH] i386: Remove extern declaration from mm/discontig.c, put in header.
authorRusty Russell <rusty@rustcorp.com.au>
Tue, 13 Feb 2007 12:26:26 +0000 (13:26 +0100)
committerAndi Kleen <andi@basil.nowhere.org>
Tue, 13 Feb 2007 12:26:26 +0000 (13:26 +0100)
Extern declarations belong in headers.  Times, they are a'changin.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: Andi Kleen <ak@suse.de>
===================================================================

arch/i386/mm/discontig.c
include/asm-i386/setup.h

index e0c390d6ceb526464d3c3b220e0fdc59f138ec8e..aa58720f68711ab5fd61c019b4862de89b6c5c35 100644 (file)
@@ -101,7 +101,6 @@ extern void find_max_pfn(void);
 extern void add_one_highpage_init(struct page *, int, int);
 
 extern struct e820map e820;
-extern unsigned long init_pg_tables_end;
 extern unsigned long highend_pfn, highstart_pfn;
 extern unsigned long max_low_pfn;
 extern unsigned long totalram_pages;
index 76316275d6f9ac370ea445509e75eeced198803f..0e8077cbfdac7da388789be548d599c0839b8fbf 100644 (file)
@@ -77,6 +77,8 @@ int __init sanitize_e820_map(struct e820entry * biosmap, char * pnr_map);
 void __init add_memory_region(unsigned long long start,
                              unsigned long long size, int type);
 
+extern unsigned long init_pg_tables_end;
+
 #endif /* __ASSEMBLY__ */
 
 #endif  /*  __KERNEL__  */