aboutsummaryrefslogtreecommitdiff
path: root/drivers/usb/cdns3/cdns3-debug.h
diff options
context:
space:
mode:
authorWanpeng Li <[email protected]>2021-05-18 05:00:31 -0700
committerPaolo Bonzini <[email protected]>2021-05-27 07:45:50 -0400
commit6bd5b743686243dae7351d5dcceeb7f171201bb4 (patch)
treec760534f54aca88f683598abe4a28bdde9bb1e19 /drivers/usb/cdns3/cdns3-debug.h
parent28a4aa1160d71187a44414dac40b57d1fd9fcd77 (diff)
KVM: PPC: exit halt polling on need_resched()
This is inspired by commit 262de4102c7bb8 (kvm: exit halt polling on need_resched() as well). Due to PPC implements an arch specific halt polling logic, we have to the need_resched() check there as well. This patch adds a helper function that can be shared between book3s and generic halt-polling loops. Reviewed-by: David Matlack <[email protected]> Reviewed-by: Venkatesh Srinivas <[email protected]> Cc: Ben Segall <[email protected]> Cc: Venkatesh Srinivas <[email protected]> Cc: Jim Mattson <[email protected]> Cc: David Matlack <[email protected]> Cc: Paul Mackerras <[email protected]> Cc: Suraj Jitindar Singh <[email protected]> Signed-off-by: Wanpeng Li <[email protected]> Message-Id: <[email protected]> [Make the function inline. - Paolo] Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-debug.h')
0 files changed, 0 insertions, 0 deletions