Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[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 <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>

authored by

Heiko Carstens and committed by
Martin Schwidefsky
bdd42b28 87458ff4

+1 -1
+1 -1
arch/s390/include/asm/processor.h
··· 295 295 " oi 0x384(1),0x10\n"/* fake protection bit */ 296 296 " lpswe 0(%1)" 297 297 : "=m" (ctl_buf) 298 - : "a" (&dw_psw), "a" (&ctl_buf), "m" (dw_psw) : "cc", "0"); 298 + : "a" (&dw_psw), "a" (&ctl_buf), "m" (dw_psw) : "cc", "0", "1"); 299 299 #endif /* __s390x__ */ 300 300 while (1); 301 301 }