diff options
Diffstat (limited to 'include/asm-powerpc/lmb.h')
-rw-r--r-- | include/asm-powerpc/lmb.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-powerpc/lmb.h b/include/asm-powerpc/lmb.h index ea0afe343545..d3546c4c9f46 100644 --- a/include/asm-powerpc/lmb.h +++ b/include/asm-powerpc/lmb.h | |||
@@ -1,5 +1,6 @@ | |||
1 | #ifndef _PPC64_LMB_H | 1 | #ifndef _PPC64_LMB_H |
2 | #define _PPC64_LMB_H | 2 | #define _PPC64_LMB_H |
3 | #ifdef __KERNEL__ | ||
3 | 4 | ||
4 | /* | 5 | /* |
5 | * Definitions for talking to the Open Firmware PROM on | 6 | * Definitions for talking to the Open Firmware PROM on |
@@ -78,4 +79,5 @@ lmb_end_pfn(struct lmb_region *type, unsigned long region_nr) | |||
78 | lmb_size_pages(type, region_nr); | 79 | lmb_size_pages(type, region_nr); |
79 | } | 80 | } |
80 | 81 | ||
82 | #endif /* __KERNEL__ */ | ||
81 | #endif /* _PPC64_LMB_H */ | 83 | #endif /* _PPC64_LMB_H */ |