diff options
Diffstat (limited to 'include/asm-powerpc/synch.h')
-rw-r--r-- | include/asm-powerpc/synch.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/asm-powerpc/synch.h b/include/asm-powerpc/synch.h index 4660c0394a77..794870ab8fd3 100644 --- a/include/asm-powerpc/synch.h +++ b/include/asm-powerpc/synch.h | |||
@@ -1,7 +1,6 @@ | |||
1 | #ifndef _ASM_POWERPC_SYNCH_H | 1 | #ifndef _ASM_POWERPC_SYNCH_H |
2 | #define _ASM_POWERPC_SYNCH_H | 2 | #define _ASM_POWERPC_SYNCH_H |
3 | 3 | #ifdef __KERNEL__ | |
4 | #include <linux/config.h> | ||
5 | 4 | ||
6 | #ifdef __powerpc64__ | 5 | #ifdef __powerpc64__ |
7 | #define __SUBARCH_HAS_LWSYNC | 6 | #define __SUBARCH_HAS_LWSYNC |
@@ -47,5 +46,6 @@ static inline void isync(void) | |||
47 | #define isync_on_smp() __asm__ __volatile__("": : :"memory") | 46 | #define isync_on_smp() __asm__ __volatile__("": : :"memory") |
48 | #endif | 47 | #endif |
49 | 48 | ||
49 | #endif /* __KERNEL__ */ | ||
50 | #endif /* _ASM_POWERPC_SYNCH_H */ | 50 | #endif /* _ASM_POWERPC_SYNCH_H */ |
51 | 51 | ||