summaryrefslogtreecommitdiffstats
path: root/include/asm-x86
diff options
context:
space:
mode:
authorJaswinder Singh <jaswinder@infradead.org>2008-07-23 17:33:57 +0530
committerJaswinder Singh <jaswinder@infradead.org>2008-07-23 17:33:57 +0530
commita80495ec927e8ec2b1ff085592bbe9bed77ffb3b (patch)
tree7c90f131f4333e5aef8c17f4fa6afab6a8c95e9f /include/asm-x86
parent8f7db5186cf126b56035d9a9735774d751090d66 (diff)
downloadblackbird-op-linux-a80495ec927e8ec2b1ff085592bbe9bed77ffb3b.tar.gz
blackbird-op-linux-a80495ec927e8ec2b1ff085592bbe9bed77ffb3b.zip
x86: mm/init_XX.c declare functions before they get used
included <asm/smp.h> in mm/init_32.c for zap_low_mappings() declared free_initmem() in asm-x86/page_XX.h Signed-off-by: Jaswinder Singh <jaswinder@infradead.org>
Diffstat (limited to 'include/asm-x86')
-rw-r--r--include/asm-x86/page_32.h1
-rw-r--r--include/asm-x86/page_64.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-x86/page_32.h b/include/asm-x86/page_32.h
index ab8528793f08..c9dd069d4ef0 100644
--- a/include/asm-x86/page_32.h
+++ b/include/asm-x86/page_32.h
@@ -96,6 +96,7 @@ extern void find_low_pfn_range(void);
extern unsigned long init_memory_mapping(unsigned long start,
unsigned long end);
extern void initmem_init(unsigned long, unsigned long);
+extern void free_initmem(void);
extern void setup_bootmem_allocator(void);
diff --git a/include/asm-x86/page_64.h b/include/asm-x86/page_64.h
index c6916c83e6b1..e5a754e97f25 100644
--- a/include/asm-x86/page_64.h
+++ b/include/asm-x86/page_64.h
@@ -91,6 +91,7 @@ extern unsigned long init_memory_mapping(unsigned long start,
unsigned long end);
extern void initmem_init(unsigned long start_pfn, unsigned long end_pfn);
+extern void free_initmem(void);
extern void init_extra_mapping_uc(unsigned long phys, unsigned long size);
extern void init_extra_mapping_wb(unsigned long phys, unsigned long size);
OpenPOWER on IntegriCloud