projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4b6e9f2
)
x86: mm/pageattr.c declare arch_report_meminfo before they get used
author
Jaswinder Singh
<jaswinder@infradead.org>
Wed, 23 Jul 2008 12:10:34 +0000
(17:40 +0530)
committer
Jaswinder Singh
<jaswinder@infradead.org>
Wed, 23 Jul 2008 12:10:34 +0000
(17:40 +0530)
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>
include/asm-x86/pgtable.h
patch
|
blob
|
history
diff --git
a/include/asm-x86/pgtable.h
b/include/asm-x86/pgtable.h
index 96aa76e691d8f4d0e1611b295e3d8db56633101c..4fb22b9c528f95eb135e5daa88c551f842142ddd 100644
(file)
--- 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 */