diff options
| author | Lai Jiangshan <[email protected]> | 2021-08-14 03:51:29 +0000 |
|---|---|---|
| committer | Paolo Bonzini <[email protected]> | 2021-09-06 10:32:35 +0000 |
| commit | a40b2fd064bb7c0425c7cbdca2120cf0609a90a2 (patch) | |
| tree | 61c680a35109089ed05a60335f7e4290e7291bd4 /lib/test_printf.c | |
| parent | KVM: stats: Add VM stat for remote tlb flush requests (diff) | |
| download | kernel-a40b2fd064bb7c0425c7cbdca2120cf0609a90a2.tar.gz kernel-a40b2fd064bb7c0425c7cbdca2120cf0609a90a2.zip | |
x86/kvm: Don't enable IRQ when IRQ enabled in kvm_wait
Commit f4e61f0c9add3 ("x86/kvm: Fix broken irq restoration in kvm_wait")
replaced "local_irq_restore() when IRQ enabled" with "local_irq_enable()
when IRQ enabled" to suppress a warnning.
Although there is no similar debugging warnning for doing local_irq_enable()
when IRQ enabled as doing local_irq_restore() in the same IRQ situation. But
doing local_irq_enable() when IRQ enabled is no less broken as doing
local_irq_restore() and we'd better avoid it.
Cc: Mark Rutland <[email protected]>
Cc: Peter Zijlstra (Intel) <[email protected]>
Signed-off-by: Lai Jiangshan <[email protected]>
Message-Id: <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'lib/test_printf.c')
0 files changed, 0 insertions, 0 deletions
