From: Heiko Carstens Date: Tue, 22 Sep 2009 20:58:47 +0000 (+0200) Subject: [S390] fix disabled_wait inline assembly clobber list X-Git-Tag: upstream/snapshot3+hdmi~17135^2~7 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=bdd42b28cde0453fb8c3d9b4e4868ca2d8124806;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git [S390] fix disabled_wait inline assembly clobber list The disabled_wait inline assmembly also clobbers register r1, but it is missing in the clobber list. Fixes recursive Oops on panic. Signed-off-by: Heiko Carstens Signed-off-by: Martin Schwidefsky --- diff --git a/arch/s390/include/asm/processor.h b/arch/s390/include/asm/processor.h index cf8eed3..b427154 100644 --- a/arch/s390/include/asm/processor.h +++ b/arch/s390/include/asm/processor.h @@ -295,7 +295,7 @@ static inline void ATTRIB_NORET disabled_wait(unsigned long code) " oi 0x384(1),0x10\n"/* fake protection bit */ " lpswe 0(%1)" : "=m" (ctl_buf) - : "a" (&dw_psw), "a" (&ctl_buf), "m" (dw_psw) : "cc", "0"); + : "a" (&dw_psw), "a" (&ctl_buf), "m" (dw_psw) : "cc", "0", "1"); #endif /* __s390x__ */ while (1); }