aboutsummaryrefslogtreecommitdiffstats
path: root/arch/s390/include
diff options
context:
space:
mode:
authorHeiko Carstens <heiko.carstens@de.ibm.com>2009-09-22 16:58:49 -0400
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2009-09-22 16:58:45 -0400
commit3fd26a7793fb21b88ccf1e238670b2a508fcf835 (patch)
tree47b6b2068d7c5ee584dde5f90defd55757f002bb /arch/s390/include
parent07805ac81c81634623042408ffea6bbad3160bfa (diff)
[S390] smp: introduce LC_ORDER and simplify lowcore handling
Removes a couple of simple code duplications. But before I have to do this again, just simplify it. 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')
-rw-r--r--arch/s390/include/asm/lowcore.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/s390/include/asm/lowcore.h b/arch/s390/include/asm/lowcore.h
index 6bc9426a6fbf..8c5570366a0e 100644
--- a/arch/s390/include/asm/lowcore.h
+++ b/arch/s390/include/asm/lowcore.h
@@ -189,6 +189,12 @@ union save_area {
189#define SAVE_AREA_BASE SAVE_AREA_BASE_S390X 189#define SAVE_AREA_BASE SAVE_AREA_BASE_S390X
190#endif 190#endif
191 191
192#ifndef __s390x__
193#define LC_ORDER 0
194#else
195#define LC_ORDER 1
196#endif
197
192struct _lowcore 198struct _lowcore
193{ 199{
194#ifndef __s390x__ 200#ifndef __s390x__