diff options
| author | Naman Jain <[email protected]> | 2025-07-07 08:43:22 +0000 |
|---|---|---|
| committer | Wei Liu <[email protected]> | 2025-07-09 23:24:36 +0000 |
| commit | b0871aa0f8df55dbf0aad55d2ab2100c23071b4b (patch) | |
| tree | 8aac8e001e5e600a14e02b4ed1df7d26efd9f836 /tools/perf/scripts/python/futex-contention.py | |
| parent | tools/hv: fcopy: Fix incorrect file path conversion (diff) | |
| download | kernel-b0871aa0f8df55dbf0aad55d2ab2100c23071b4b.tar.gz kernel-b0871aa0f8df55dbf0aad55d2ab2100c23071b4b.zip | |
Drivers: hv: Fix the check for HYPERVISOR_CALLBACK_VECTOR
__is_defined(HYPERVISOR_CALLBACK_VECTOR) would return 1, only if
HYPERVISOR_CALLBACK_VECTOR macro is defined as 1. However its value is
0xf3 and this leads to __is_defined() returning 0. The expectation
was to just check whether this MACRO is defined or not and get 1 if
it's defined. Replace __is_defined with #ifdef blocks instead to
fix it.
Fixes: 1dc5df133b98 ("Drivers: hv: vmbus: Get the IRQ number from DeviceTree")
Cc: [email protected]
Signed-off-by: Naman Jain <[email protected]>
Reviewed-by: Roman Kisel <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Wei Liu <[email protected]>
Message-ID: <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/futex-contention.py')
0 files changed, 0 insertions, 0 deletions
