Skip to content

Commit

Permalink
[PATCH] i386: Remove extern declaration from mm/discontig.c, put in h…
Browse files Browse the repository at this point in the history
…eader.

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>

===================================================================
  • Loading branch information
Rusty Russell authored and Andi Kleen committed Feb 13, 2007
1 parent 2a57ff1 commit 40d22c1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 0 additions & 1 deletion arch/i386/mm/discontig.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 2 additions & 0 deletions include/asm-i386/setup.h
Original file line number Diff line number Diff line change
Expand Up @@ -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__ */
Expand Down

0 comments on commit 40d22c1

Please sign in to comment.