Recent change to uapi/linux/swab.h needs this.

Signed-off-by: Denys Vlasenko <[email protected]>
CC: Josh Boyer <[email protected]>
CC: Thomas Graf <[email protected]>
CC: Peter Zijlstra <[email protected]>
CC: David Rientjes <[email protected]>
CC: Arnd Bergmann <[email protected]>
CC: Ingo Molnar <[email protected]>
CC: Andrew Morton <[email protected]>
CC: Linus Torvalds <[email protected]>
CC: [email protected]
---
 include/linux/compiler.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/linux/compiler.h b/include/linux/compiler.h
index b5ff988..2cb6ba4 100644
--- a/include/linux/compiler.h
+++ b/include/linux/compiler.h
@@ -397,12 +397,12 @@ static __always_inline void __write_once_size(volatile 
void *p, void *res, int s
  */
 #define noinline_for_stack noinline
 
+#endif /* __KERNEL__ */
+
 #ifndef __always_inline
 #define __always_inline inline
 #endif
 
-#endif /* __KERNEL__ */
-
 /*
  * From the GCC manual:
  *
-- 
1.8.1.4

Reply via email to