diff options
author | Borislav Petkov <bp@alien8.de> | 2022-10-19 18:59:45 +0200 |
---|---|---|
committer | Peter Zijlstra <peterz@infradead.org> | 2022-10-20 16:00:59 +0200 |
commit | dbf53a29b28b277fa952a000245b558536c6bdd7 (patch) | |
tree | 1246129407ba73ca5adcf0e7c31b1b639045cce8 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 5c9a92dec3235b0c1d51e92860f8014753161593 (diff) |
x86/paravirt: Fix a !PARAVIRT build warning
Fix
./include/trace/events/xen.h:28:31: warning: ‘enum paravirt_lazy_mode’ \
declared inside parameter list will not be visible outside of this definition or declaration
which turns into a build error:
./include/trace/events/xen.h:28:50: error: parameter 1 (‘mode’) has incomplete type
28 | TP_PROTO(enum paravirt_lazy_mode mode), \
due to enum paravirt_lazy_mode being visible only under CONFIG_PARAVIRT.
Just pull it up where it is unconditionally visible.
Signed-off-by: Borislav Petkov <bp@suse.de>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lkml.kernel.org/r/Y1AtAXM8YjtBm2cj@zn.tnic
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions