From: Heiko Carstens Date: Fri, 19 May 2017 07:07:23 +0000 (+0200) Subject: s390/smp: use sigp condition code define X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=bf10b6687c19484cdf28107ec9b4be51c06c7746;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git s390/smp: use sigp condition code define Use proper define instead of open-coding the condition code value. Signed-off-by: Heiko Carstens Signed-off-by: Martin Schwidefsky --- diff --git a/arch/s390/include/asm/sigp.h b/arch/s390/include/asm/sigp.h index 72df5f2de6b0..020a8814d511 100644 --- 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; }