summaryrefslogtreecommitdiffstats
path: root/arch/arc/include/asm/current.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/current.h
parentebc0c74e76cec9c4dd860eb0ca1c0b39dc63c482 (diff)
downloadop-kernel-dev-be64c997d96dd29029ed40d9df9cbf80fa1c7ed4.zip
op-kernel-dev-be64c997d96dd29029ed40d9df9cbf80fa1c7ed4.tar.gz
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/current.h')
-rw-r--r--arch/arc/include/asm/current.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/arc/include/asm/current.h b/arch/arc/include/asm/current.h
index 87b9185..c2453ee 100644
--- a/arch/arc/include/asm/current.h
+++ b/arch/arc/include/asm/current.h
@@ -12,8 +12,6 @@
#ifndef _ASM_ARC_CURRENT_H
#define _ASM_ARC_CURRENT_H
-#ifdef __KERNEL__
-
#ifndef __ASSEMBLY__
#ifdef CONFIG_ARC_CURR_IN_REG
@@ -27,6 +25,4 @@ register struct task_struct *curr_arc asm("r25");
#endif /* ! __ASSEMBLY__ */
-#endif /* __KERNEL__ */
-
#endif /* _ASM_ARC_CURRENT_H */
OpenPOWER on IntegriCloud