summaryrefslogtreecommitdiffstats
path: root/arch/arc/include/asm/atomic.h
diff options
context:
space:
mode:
authorVineet Gupta <vgupta@synopsys.com>2014-09-27 12:49:11 +0530
committerVineet Gupta <vgupta@synopsys.com>2014-10-13 14:46:20 +0530
commitbe64c997d96dd29029ed40d9df9cbf80fa1c7ed4 (patch)
treee5ff25a196392244fcfa229e51c76d4d824e9975 /arch/arc/include/asm/atomic.h
parentebc0c74e76cec9c4dd860eb0ca1c0b39dc63c482 (diff)
ARC: remove extraneous __KERNEL__ guards
Verified by doing make headers_install as none of these files are exported to userspace
Diffstat (limited to 'arch/arc/include/asm/atomic.h')
-rw-r--r--arch/arc/include/asm/atomic.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/arc/include/asm/atomic.h b/arch/arc/include/asm/atomic.h
index 83f03ca6caf..6638a0392f4 100644
--- a/arch/arc/include/asm/atomic.h
+++ b/arch/arc/include/asm/atomic.h
@@ -9,8 +9,6 @@
#ifndef _ASM_ARC_ATOMIC_H
#define _ASM_ARC_ATOMIC_H
-#ifdef __KERNEL__
-
#ifndef __ASSEMBLY__
#include <linux/types.h>
@@ -228,5 +226,3 @@ static inline void atomic_clear_mask(unsigned long mask, unsigned long *addr)
#endif
#endif
-
-#endif