diff options
author | Heiko Carstens <heiko.carstens@de.ibm.com> | 2009-09-22 20:58:49 (GMT) |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2009-09-22 20:58:45 (GMT) |
commit | 3fd26a7793fb21b88ccf1e238670b2a508fcf835 (patch) | |
tree | 47b6b2068d7c5ee584dde5f90defd55757f002bb /arch/s390/include/asm/lowcore.h | |
parent | 07805ac81c81634623042408ffea6bbad3160bfa (diff) | |
download | linux-fsl-qoriq-3fd26a7793fb21b88ccf1e238670b2a508fcf835.tar.xz |
[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/asm/lowcore.h')
-rw-r--r-- | arch/s390/include/asm/lowcore.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/s390/include/asm/lowcore.h b/arch/s390/include/asm/lowcore.h index 6bc9426..8c55703 100644 --- a/arch/s390/include/asm/lowcore.h +++ b/arch/s390/include/asm/lowcore.h @@ -189,6 +189,12 @@ union save_area { #define SAVE_AREA_BASE SAVE_AREA_BASE_S390X #endif +#ifndef __s390x__ +#define LC_ORDER 0 +#else +#define LC_ORDER 1 +#endif + struct _lowcore { #ifndef __s390x__ |