Commit 40d22c1b authored by Rusty Russell's avatar Rusty Russell Committed by Andi Kleen

[PATCH] i386: Remove extern declaration from mm/discontig.c, put in header.

Extern declarations belong in headers.  Times, they are a'changin.
Signed-off-by: default avatarRusty Russell <rusty@rustcorp.com.au>
Signed-off-by: default avatarAndi Kleen <ak@suse.de>

===================================================================
parent 2a57ff1a
...@@ -101,7 +101,6 @@ extern void find_max_pfn(void); ...@@ -101,7 +101,6 @@ extern void find_max_pfn(void);
extern void add_one_highpage_init(struct page *, int, int); extern void add_one_highpage_init(struct page *, int, int);
extern struct e820map e820; extern struct e820map e820;
extern unsigned long init_pg_tables_end;
extern unsigned long highend_pfn, highstart_pfn; extern unsigned long highend_pfn, highstart_pfn;
extern unsigned long max_low_pfn; extern unsigned long max_low_pfn;
extern unsigned long totalram_pages; extern unsigned long totalram_pages;
......
...@@ -77,6 +77,8 @@ int __init sanitize_e820_map(struct e820entry * biosmap, char * pnr_map); ...@@ -77,6 +77,8 @@ int __init sanitize_e820_map(struct e820entry * biosmap, char * pnr_map);
void __init add_memory_region(unsigned long long start, void __init add_memory_region(unsigned long long start,
unsigned long long size, int type); unsigned long long size, int type);
extern unsigned long init_pg_tables_end;
#endif /* __ASSEMBLY__ */ #endif /* __ASSEMBLY__ */
#endif /* __KERNEL__ */ #endif /* __KERNEL__ */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment