summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/asm-ppc64/lmb.h2
-rw-r--r--include/asm-ppc64/page.h3
2 files changed, 2 insertions, 3 deletions
diff --git a/include/asm-ppc64/lmb.h b/include/asm-ppc64/lmb.h
index 43a2f70cf4d3..8dc2a07eac56 100644
--- a/include/asm-ppc64/lmb.h
+++ b/include/asm-ppc64/lmb.h
@@ -47,7 +47,7 @@ struct lmb {
struct lmb_region reserved;
};
-extern struct lmb lmb __initdata;
+extern struct lmb lmb;
extern void __init lmb_init(void);
extern void __init lmb_analyze(void);
diff --git a/include/asm-ppc64/page.h b/include/asm-ppc64/page.h
index 0bd698f6b10d..af8219b8e775 100644
--- a/include/asm-ppc64/page.h
+++ b/include/asm-ppc64/page.h
@@ -181,8 +181,7 @@ static inline int get_order(unsigned long size)
#define __pa(x) ((unsigned long)(x)-PAGE_OFFSET)
-/* Not 100% correct, for use by /dev/mem only */
-extern int page_is_ram(unsigned long physaddr);
+extern int page_is_ram(unsigned long pfn);
#endif /* __ASSEMBLY__ */