diff options
author | Mark Brown <[email protected]> | 2023-01-06 19:24:19 +0000 |
---|---|---|
committer | Peter Zijlstra <[email protected]> | 2023-01-30 16:29:45 +0100 |
commit | 68efe8f7a1c5168be2228bfb806ddc05475b7205 (patch) | |
tree | 32e8eea146f15dc613c4d7d1c976931167350407 /scripts/gdb/linux/proc.py | |
parent | 001c28e57187570e4b5aa4492c7a957fb6d65d7b (diff) |
KVM: selftests: Fix build of rseq test
The KVM rseq test is failing to build in -next due to a commit merged
from the tip tree which adds a wrapper for sys_getcpu() to the rseq
kselftests, conflicting with the wrapper already included in the KVM
selftest:
rseq_test.c:48:13: error: conflicting types for 'sys_getcpu'
48 | static void sys_getcpu(unsigned *cpu)
| ^~~~~~~~~~
In file included from rseq_test.c:23:
../rseq/rseq.c:82:12: note: previous definition of 'sys_getcpu' was here
82 | static int sys_getcpu(unsigned *cpu, unsigned *node)
| ^~~~~~~~~~
Fix this by removing the local wrapper and moving the result check up to
the caller.
Fixes: 99babd04b250 ("selftests/rseq: Implement rseq numa node id field selftest")
Signed-off-by: Mark Brown <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Acked-by: Mathieu Desnoyers <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'scripts/gdb/linux/proc.py')
0 files changed, 0 insertions, 0 deletions