diff options
| author | Alexander Egorenkov <[email protected]> | 2023-02-03 08:39:54 +0100 |
|---|---|---|
| committer | Heiko Carstens <[email protected]> | 2023-02-06 15:14:08 +0100 |
| commit | c24def73a2863a8292693ab49a83303213ef3f23 (patch) | |
| tree | e4c5812b4615df899d18fdb51602f0f974949164 /tools/perf/scripts/python | |
| parent | 83089c8f502e87ca74dd5f8cd460536c43318fef (diff) | |
watchdog: diag288_wdt: get rid of register asm
Using register asm statements has been proven to be very error prone,
especially when using code instrumentation where gcc may add function
calls, which clobbers register contents in an unexpected way.
Therefore, get rid of register asm statements in watchdog code, and make
sure this bug class cannot happen.
Moreover, remove the register r1 from the clobber list because this
register is not changed by DIAG 288.
Reviewed-by: Heiko Carstens <[email protected]>
Signed-off-by: Alexander Egorenkov <[email protected]>
Reviewed-by: Guenter Roeck <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Heiko Carstens <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions