summaryrefslogtreecommitdiff
path: root/arch/arc/include/asm/current.h
diff options
context:
space:
mode:
authorVineet Gupta <vgupta@synopsys.com>2014-09-27 11:19:11 +0400
committerVineet Gupta <vgupta@synopsys.com>2014-10-13 13:16:20 +0400
commitbe64c997d96dd29029ed40d9df9cbf80fa1c7ed4 (patch)
treee5ff25a196392244fcfa229e51c76d4d824e9975 /arch/arc/include/asm/current.h
parentebc0c74e76cec9c4dd860eb0ca1c0b39dc63c482 (diff)
downloadlinux-be64c997d96dd29029ed40d9df9cbf80fa1c7ed4.tar.xz
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 87b918585c4a..c2453ee62801 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 */