summaryrefslogtreecommitdiffstats
path: root/arch/s390/include/asm/rwsem.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/rwsem.h
parents390/irq: split irq stats for cpu-measurement alert facilities (diff)
downloadlinux-da477737c5ec99d37cb78dab909aa0402a0ebf18.tar.xz
linux-da477737c5ec99d37cb78dab909aa0402a0ebf18.zip
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/rwsem.h')
-rw-r--r--arch/s390/include/asm/rwsem.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/s390/include/asm/rwsem.h b/arch/s390/include/asm/rwsem.h
index d0eb4653cebd..5a2f731ce128 100644
--- a/arch/s390/include/asm/rwsem.h
+++ b/arch/s390/include/asm/rwsem.h
@@ -41,8 +41,6 @@
#error "please don't include asm/rwsem.h directly, use linux/rwsem.h instead"
#endif
-#ifdef __KERNEL__
-
#ifndef __s390x__
#define RWSEM_UNLOCKED_VALUE 0x00000000
#define RWSEM_ACTIVE_BIAS 0x00000001
@@ -319,5 +317,4 @@ static inline long rwsem_atomic_update(long delta, struct rw_semaphore *sem)
return new;
}
-#endif /* __KERNEL__ */
#endif /* _S390_RWSEM_H */