From e1a8b69afd63f26f8e7be39e3bc78c4894cdb9fd Mon Sep 17 00:00:00 2001 From: Sam Ravnborg Date: Mon, 26 Dec 2011 21:05:27 +0100 Subject: sparc32: drop useless preprocessor conditional in atomic_32.h arch/sparc/include/asm/atomic_32.h is not exported to userspace. So there is no need to protect code using __KERNEL__. Signed-off-by: Sam Ravnborg Signed-off-by: David S. Miller --- arch/sparc/include/asm/atomic_32.h | 4 ---- 1 file changed, 4 deletions(-) (limited to 'arch/sparc') diff --git a/arch/sparc/include/asm/atomic_32.h b/arch/sparc/include/asm/atomic_32.h index 534832f5b35..03fd0c52096 100644 --- a/arch/sparc/include/asm/atomic_32.h +++ b/arch/sparc/include/asm/atomic_32.h @@ -13,8 +13,6 @@ #include -#ifdef __KERNEL__ - #include #define ATOMIC_INIT(i) { (i) } @@ -58,6 +56,4 @@ extern void atomic_set(atomic_t *, int); #define smp_mb__before_atomic_inc() barrier() #define smp_mb__after_atomic_inc() barrier() -#endif /* !(__KERNEL__) */ - #endif /* !(__ARCH_SPARC_ATOMIC__) */ -- cgit v1.2.3-18-g5258