summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJaswinder Singh <jaswinder@infradead.org>2008-07-23 17:40:34 +0530
committerJaswinder Singh <jaswinder@infradead.org>2008-07-23 17:40:34 +0530
commite0b7c8192ded4c2096388008d3ca6708caa8b601 (patch)
tree81dedafb9473a1bcf5de1b6dca85ae4a1bd10f60
parent4b6e9f27d0034740e9cfa341b45c229ba30ec0c5 (diff)
x86: mm/pageattr.c declare arch_report_meminfo before they get used
declared arch_report_meminfo() in asm-x86/pgtable.h as it will be also accessible by fs/proc/proc_misc.c Signed-off-by: Jaswinder Singh <jaswinder@infradead.org>
-rw-r--r--include/asm-x86/pgtable.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-x86/pgtable.h b/include/asm-x86/pgtable.h
index 96aa76e691d..4fb22b9c528 100644
--- a/include/asm-x86/pgtable.h
+++ b/include/asm-x86/pgtable.h
@@ -310,6 +310,8 @@ static inline void native_pagetable_setup_start(pgd_t *base) {}
static inline void native_pagetable_setup_done(pgd_t *base) {}
#endif
+extern int arch_report_meminfo(char *page);
+
#ifdef CONFIG_PARAVIRT
#include <asm/paravirt.h>
#else /* !CONFIG_PARAVIRT */