提交 bf10b668 编写于 作者: H Heiko Carstens 提交者: Martin Schwidefsky

s390/smp: use sigp condition code define

Use proper define instead of open-coding the condition code value.
Signed-off-by: NHeiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: NMartin Schwidefsky <schwidefsky@de.ibm.com>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册