[PATCH] Update lmb.h include protection to ASM_POWERPC

Becky Bruce becky.bruce at freescale.com
Wed Aug 15 04:45:44 EST 2007


This file was protected by _PPC64_LMB_H, which is confusing, as the 32-bit code
also uses the lmb these days.  Changed to _ASM_POWERPC_LMB_H.

Signed-off-by: Becky Bruce <becky.bruce at freescale.com>
---
 include/asm-powerpc/lmb.h |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/include/asm-powerpc/lmb.h b/include/asm-powerpc/lmb.h
index 0c5880f..b5f9f4c 100644
--- a/include/asm-powerpc/lmb.h
+++ b/include/asm-powerpc/lmb.h
@@ -1,5 +1,5 @@
-#ifndef _PPC64_LMB_H
-#define _PPC64_LMB_H
+#ifndef _ASM_POWERPC_LMB_H
+#define _ASM_POWERPC_LMB_H
 #ifdef __KERNEL__
 
 /*
@@ -77,4 +77,4 @@ lmb_end_pfn(struct lmb_region *type, unsigned long region_nr)
 }
 
 #endif /* __KERNEL__ */
-#endif /* _PPC64_LMB_H */
+#endif /* _ASM_POWERPC_LMB_H */
-- 
1.5.0.3




More information about the Linuxppc-dev mailing list