[S390] smp: rename and add lowcore defines
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Fri, 26 Feb 2010 21:37:33 +0000 (22:37 +0100)
committerMartin Schwidefsky <sky@mschwide.boeblingen.de.ibm.com>
Fri, 26 Feb 2010 21:37:30 +0000 (22:37 +0100)
Rename __LC_RESTART_PSW to __LC_RST_NEW_PSW, add a define for the
missing 32 bit variant and the missing old PSWs.

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/include/asm/lowcore.h
arch/s390/kernel/swsusp_asm64.S

index 8ed3c745cd07fa55dcf412b1c01bb48036e935b1..a9eb6834d9211ff641e996a6da7ecb29970ea426 100644 (file)
@@ -36,6 +36,8 @@
 #define __LC_DUMP_REIPL                        0x0e00
 
 #ifndef __s390x__
+#define __LC_RST_NEW_PSW               0x0000
+#define __LC_RST_OLD_PSW               0x0008
 #define __LC_EXT_OLD_PSW               0x0018
 #define __LC_SVC_OLD_PSW               0x0020
 #define __LC_PGM_OLD_PSW               0x0028
 #define __LC_CREGS_SAVE_AREA           0x01c0
 #else /* __s390x__ */
 #define __LC_LAST_BREAK                        0x0110
+#define __LC_RST_OLD_PSW               0x0120
 #define __LC_EXT_OLD_PSW               0x0130
 #define __LC_SVC_OLD_PSW               0x0140
 #define __LC_PGM_OLD_PSW               0x0150
 #define __LC_MCK_OLD_PSW               0x0160
 #define __LC_IO_OLD_PSW                        0x0170
-#define __LC_RESTART_PSW               0x01a0
+#define __LC_RST_NEW_PSW               0x01a0
 #define __LC_EXT_NEW_PSW               0x01b0
 #define __LC_SVC_NEW_PSW               0x01c0
 #define __LC_PGM_NEW_PSW               0x01d0
index 0c26cc1898ec68a96e4b176be0eeff29bff57882..b354427e03b7508a1454385d6a53518f1f7e07e3 100644 (file)
@@ -176,7 +176,7 @@ pgm_check_entry:
        cgr     %r1,%r2
        je      restore_registers               /* r1 = r2 -> nothing to do */
        larl    %r4,.Lrestart_suspend_psw       /* Set new restart PSW */
-       mvc     __LC_RESTART_PSW(16,%r0),0(%r4)
+       mvc     __LC_RST_NEW_PSW(16,%r0),0(%r4)
 3:
        sigp    %r9,%r1,__SIGP_INITIAL_CPU_RESET
        brc     8,4f    /* accepted */