mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-26 04:30:56 +07:00
[S390] vmwatchdog: fix broken inline assembly.
Constraint for err is wrong since it is preinitialized and the code relies on it in case of an exception. Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
This commit is contained in:
parent
1b9fd76e30
commit
2b12f996c9
@ -66,8 +66,8 @@ static int __diag288(enum vmwdt_func func, unsigned int timeout,
|
||||
"0: la %0,0\n"
|
||||
"1:\n"
|
||||
EX_TABLE(0b,1b)
|
||||
: "=d" (err) : "d"(__func), "d"(__timeout),
|
||||
"d"(__cmdp), "d"(__cmdl), "0" (-EINVAL) : "1", "cc");
|
||||
: "+d" (err) : "d"(__func), "d"(__timeout),
|
||||
"d"(__cmdp), "d"(__cmdl) : "1", "cc");
|
||||
return err;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user