diff options
author | Michael Kelley <[email protected]> | 2023-03-27 06:16:06 -0700 |
---|---|---|
committer | Wei Liu <[email protected]> | 2023-04-17 19:19:05 +0000 |
commit | d7b6ba9611aefc4bef207b16db8ff06b726efe35 (patch) | |
tree | 8db71a7f418effbd5fcf5f350866d1217a29b29b /drivers/usb/cdns3/cdns3-debug.h | |
parent | 9a6b1a170ca8627d401fa76112e4920ba8c6314c (diff) |
x86/hyperv: Add callback filter to cpumask_to_vpset()
When copying CPUs from a Linux cpumask to a Hyper-V VPset,
cpumask_to_vpset() currently has a "_noself" variant that doesn't copy
the current CPU to the VPset. Generalize this variant by replacing it
with a "_skip" variant having a callback function that is invoked for
each CPU to decide if that CPU should be copied. Update the one caller
of cpumask_to_vpset_noself() to use the new "_skip" variant instead.
No functional change.
Signed-off-by: Michael Kelley <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Wei Liu <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-debug.h')
0 files changed, 0 insertions, 0 deletions