summaryrefslogtreecommitdiffstats
path: root/arch/s390/include/asm/processor.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/processor.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/processor.h')
-rw-r--r--arch/s390/include/asm/processor.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/arch/s390/include/asm/processor.h b/arch/s390/include/asm/processor.h
index d499b30..0aa04f9 100644
--- a/arch/s390/include/asm/processor.h
+++ b/arch/s390/include/asm/processor.h
@@ -20,7 +20,6 @@
#include <asm/ptrace.h>
#include <asm/setup.h>
-#ifdef __KERNEL__
/*
* Default implementation of macro that returns current
* instruction pointer ("program counter").
@@ -54,8 +53,6 @@ extern int sysctl_ieee_emulation_warnings;
#endif /* __s390x__ */
-#ifdef __KERNEL__
-
#ifndef __s390x__
#define STACK_TOP (1UL << 31)
#define STACK_TOP_MAX (1UL << 31)
@@ -64,9 +61,6 @@ extern int sysctl_ieee_emulation_warnings;
#define STACK_TOP_MAX (1UL << 42)
#endif /* __s390x__ */
-
-#endif
-
#define HAVE_ARCH_PICK_MMAP_LAYOUT
typedef struct {
@@ -341,8 +335,6 @@ extern void (*s390_base_ext_handler_fn)(void);
#define ARCH_LOW_ADDRESS_LIMIT 0x7fffffffUL
-#endif
-
/*
* Helper macro for exception table entries
*/
OpenPOWER on IntegriCloud