Commit bf10b668 authored by Heiko Carstens's avatar Heiko Carstens Committed by Martin Schwidefsky

s390/smp: use sigp condition code define

Use proper define instead of open-coding the condition code value.
Signed-off-by: default avatarHeiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: default avatarMartin Schwidefsky <schwidefsky@de.ibm.com>
parent 9cf8edb7
...@@ -59,7 +59,7 @@ static inline int __pcpu_sigp(u16 addr, u8 order, unsigned long parm, ...@@ -59,7 +59,7 @@ static inline int __pcpu_sigp(u16 addr, u8 order, unsigned long parm,
int cc; int cc;
cc = ____pcpu_sigp(addr, order, parm, &_status); cc = ____pcpu_sigp(addr, order, parm, &_status);
if (status && cc == 1) if (status && cc == SIGP_CC_STATUS_STORED)
*status = _status; *status = _status;
return cc; return cc;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment