aboutsummaryrefslogtreecommitdiffstats
path: root/arch/s390/kernel/entry.S
diff options
context:
space:
mode:
authorHeiko Carstens <heiko.carstens@de.ibm.com>2012-06-04 09:05:43 -0400
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2012-06-05 07:23:36 -0400
commiteb546195a7d8bc492ec6865980bf767474e74d87 (patch)
tree75dd288f9c3a2870000bc64857d8230030bfcb31 /arch/s390/kernel/entry.S
parenta095a8a9d5c2ffa15589298aabb64c75c39bf9be (diff)
s390/sigp: use sigp order code defines in assembly code
Use sigp order code defines in assembly code as well. With this change all places that use sigp constants should have been converted to use self describing defines instead of directly using constants. Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390/kernel/entry.S')
-rw-r--r--arch/s390/kernel/entry.S5
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/s390/kernel/entry.S b/arch/s390/kernel/entry.S
index 1ae93b573d7d..3787f9e6907a 100644
--- a/arch/s390/kernel/entry.S
+++ b/arch/s390/kernel/entry.S
@@ -18,6 +18,7 @@
18#include <asm/asm-offsets.h> 18#include <asm/asm-offsets.h>
19#include <asm/unistd.h> 19#include <asm/unistd.h>
20#include <asm/page.h> 20#include <asm/page.h>
21#include <asm/sigp.h>
21 22
22__PT_R0 = __PT_GPRS 23__PT_R0 = __PT_GPRS
23__PT_R1 = __PT_GPRS + 4 24__PT_R1 = __PT_GPRS + 4
@@ -726,12 +727,12 @@ ENTRY(restart_int_handler)
726 lm %r1,%r3,__LC_RESTART_FN # load fn, parm & source cpu 727 lm %r1,%r3,__LC_RESTART_FN # load fn, parm & source cpu
727 ltr %r3,%r3 # test source cpu address 728 ltr %r3,%r3 # test source cpu address
728 jm 1f # negative -> skip source stop 729 jm 1f # negative -> skip source stop
7290: sigp %r4,%r3,1 # sigp sense to source cpu 7300: sigp %r4,%r3,SIGP_SENSE # sigp sense to source cpu
730 brc 10,0b # wait for status stored 731 brc 10,0b # wait for status stored
7311: basr %r14,%r1 # call function 7321: basr %r14,%r1 # call function
732 stap __SF_EMPTY(%r15) # store cpu address 733 stap __SF_EMPTY(%r15) # store cpu address
733 lh %r3,__SF_EMPTY(%r15) 734 lh %r3,__SF_EMPTY(%r15)
7342: sigp %r4,%r3,5 # sigp stop to current cpu 7352: sigp %r4,%r3,SIGP_STOP # sigp stop to current cpu
735 brc 2,2b 736 brc 2,2b
7363: j 3b 7373: j 3b
737 738