aboutsummaryrefslogtreecommitdiffstats
path: root/arch/s390/include/asm/thread_info.h
diff options
context:
space:
mode:
authorHeiko Carstens <heiko.carstens@de.ibm.com>2012-05-23 10:24:51 -0400
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2012-05-24 04:10:10 -0400
commitf4815ac6c935b8e441fe12504d62e0e8ff7f7ce5 (patch)
tree32b78252b6b155e7a218c571d9e994c78da1aee0 /arch/s390/include/asm/thread_info.h
parentda477737c5ec99d37cb78dab909aa0402a0ebf18 (diff)
s390/headers: replace __s390x__ with CONFIG_64BIT where possible
Replace __s390x__ with CONFIG_64BIT in all places that are not exported to userspace or guarded with #ifdef __KERNEL__. 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/thread_info.h')
-rw-r--r--arch/s390/include/asm/thread_info.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/s390/include/asm/thread_info.h b/arch/s390/include/asm/thread_info.h
index ed27145c9ae3..4e40b25cd060 100644
--- a/arch/s390/include/asm/thread_info.h
+++ b/arch/s390/include/asm/thread_info.h
@@ -12,10 +12,10 @@
12/* 12/*
13 * Size of kernel stack for each process 13 * Size of kernel stack for each process
14 */ 14 */
15#ifndef __s390x__ 15#ifndef CONFIG_64BIT
16#define THREAD_ORDER 1 16#define THREAD_ORDER 1
17#define ASYNC_ORDER 1 17#define ASYNC_ORDER 1
18#else /* __s390x__ */ 18#else /* CONFIG_64BIT */
19#ifndef __SMALL_STACK 19#ifndef __SMALL_STACK
20#define THREAD_ORDER 2 20#define THREAD_ORDER 2
21#define ASYNC_ORDER 2 21#define ASYNC_ORDER 2
@@ -23,7 +23,7 @@
23#define THREAD_ORDER 1 23#define THREAD_ORDER 1
24#define ASYNC_ORDER 1 24#define ASYNC_ORDER 1
25#endif 25#endif
26#endif /* __s390x__ */ 26#endif /* CONFIG_64BIT */
27 27
28#define THREAD_SIZE (PAGE_SIZE << THREAD_ORDER) 28#define THREAD_SIZE (PAGE_SIZE << THREAD_ORDER)
29#define ASYNC_SIZE (PAGE_SIZE << ASYNC_ORDER) 29#define ASYNC_SIZE (PAGE_SIZE << ASYNC_ORDER)