projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9cf8edb
)
s390/smp: use sigp condition code define
author
Heiko Carstens
<heiko.carstens@de.ibm.com>
Fri, 19 May 2017 07:07:23 +0000
(09:07 +0200)
committer
Martin Schwidefsky
<schwidefsky@de.ibm.com>
Mon, 12 Jun 2017 14:25:58 +0000
(16:25 +0200)
Use proper define instead of open-coding the condition code value.
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/include/asm/sigp.h
patch
|
blob
|
history
diff --git
a/arch/s390/include/asm/sigp.h
b/arch/s390/include/asm/sigp.h
index 72df5f2de6b0b71f98cb0ffe1d18c8b8d38836f4..020a8814d511e5c0f05d07888bda614e44721ff4 100644
(file)
--- a/
arch/s390/include/asm/sigp.h
+++ b/
arch/s390/include/asm/sigp.h
@@
-59,7
+59,7
@@
static inline int __pcpu_sigp(u16 addr, u8 order, unsigned long parm,
int cc;
cc = ____pcpu_sigp(addr, order, parm, &_status);
- if (status && cc ==
1
)
+ if (status && cc ==
SIGP_CC_STATUS_STORED
)
*status = _status;
return cc;
}