diff options
author | Heiko Carstens <heiko.carstens@de.ibm.com> | 2012-06-04 09:05:43 -0400 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2012-06-05 07:23:36 -0400 |
commit | eb546195a7d8bc492ec6865980bf767474e74d87 (patch) | |
tree | 75dd288f9c3a2870000bc64857d8230030bfcb31 /arch/s390/kernel/entry.S | |
parent | a095a8a9d5c2ffa15589298aabb64c75c39bf9be (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.S | 5 |
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 |
729 | 0: sigp %r4,%r3,1 # sigp sense to source cpu | 730 | 0: 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 |
731 | 1: basr %r14,%r1 # call function | 732 | 1: 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) |
734 | 2: sigp %r4,%r3,5 # sigp stop to current cpu | 735 | 2: sigp %r4,%r3,SIGP_STOP # sigp stop to current cpu |
735 | brc 2,2b | 736 | brc 2,2b |
736 | 3: j 3b | 737 | 3: j 3b |
737 | 738 | ||