Răsfoiți Sursa

s390/smp: use sigp condition code define

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>
Heiko Carstens 8 ani în urmă
părinte
comite
bf10b6687c
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      arch/s390/include/asm/sigp.h

+ 1 - 1
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;
 }