Skip to content

Commit

Permalink
x86: mm/pageattr.c declare arch_report_meminfo before they get used
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jaswinder Singh committed Jul 23, 2008
1 parent 4b6e9f2 commit e0b7c81
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions include/asm-x86/pgtable.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit e0b7c81

Please sign in to comment.