summaryrefslogtreecommitdiffstats
path: root/arch/s390/include/asm/current.h
diff options
context:
space:
mode:
authorHeiko Carstens <heiko.carstens@de.ibm.com>2012-05-23 13:55:45 +0200
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2012-05-24 10:10:05 +0200
commitda477737c5ec99d37cb78dab909aa0402a0ebf18 (patch)
treedba1fa168ff9673a3079d4d4c9394c3d8be24ddc /arch/s390/include/asm/current.h
parent02456169e03bcfcebd3115b2a54c1c4a6829c875 (diff)
downloadop-kernel-dev-da477737c5ec99d37cb78dab909aa0402a0ebf18.zip
op-kernel-dev-da477737c5ec99d37cb78dab909aa0402a0ebf18.tar.gz
s390/headers: remove #ifdef __KERNEL__ from not exported headers
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390/include/asm/current.h')
-rw-r--r--arch/s390/include/asm/current.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/s390/include/asm/current.h b/arch/s390/include/asm/current.h
index 83cf36c..7a68084 100644
--- a/arch/s390/include/asm/current.h
+++ b/arch/s390/include/asm/current.h
@@ -11,13 +11,10 @@
#ifndef _S390_CURRENT_H
#define _S390_CURRENT_H
-#ifdef __KERNEL__
#include <asm/lowcore.h>
struct task_struct;
#define current ((struct task_struct *const)S390_lowcore.current_task)
-#endif
-
#endif /* !(_S390_CURRENT_H) */
OpenPOWER on IntegriCloud