Skip to content

Commit dc951e2

Browse files
committed
tools headers UAPI: Sync linux/kvm.h with the kernel sources
Silence this perf build warning: Warning: Kernel ABI header at 'tools/include/uapi/linux/kvm.h' differs from latest version at 'include/uapi/linux/kvm.h' diff -u tools/include/uapi/linux/kvm.h include/uapi/linux/kvm.h Reported-by: Arnaldo Carvalho de Melo <[email protected]> Cc: Adrian Hunter <[email protected]> Cc: Ian Rogers <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Namhyung Kim <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]>
1 parent e923b05 commit dc951e2

File tree

1 file changed

+2
-1
lines changed
  • tools/include/uapi/linux

1 file changed

+2
-1
lines changed

tools/include/uapi/linux/kvm.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2083,7 +2083,8 @@ struct kvm_stats_header {
20832083
#define KVM_STATS_UNIT_BYTES (0x1 << KVM_STATS_UNIT_SHIFT)
20842084
#define KVM_STATS_UNIT_SECONDS (0x2 << KVM_STATS_UNIT_SHIFT)
20852085
#define KVM_STATS_UNIT_CYCLES (0x3 << KVM_STATS_UNIT_SHIFT)
2086-
#define KVM_STATS_UNIT_MAX KVM_STATS_UNIT_CYCLES
2086+
#define KVM_STATS_UNIT_BOOLEAN (0x4 << KVM_STATS_UNIT_SHIFT)
2087+
#define KVM_STATS_UNIT_MAX KVM_STATS_UNIT_BOOLEAN
20872088

20882089
#define KVM_STATS_BASE_SHIFT 8
20892090
#define KVM_STATS_BASE_MASK (0xF << KVM_STATS_BASE_SHIFT)

0 commit comments

Comments
 (0)