Skip to content

Commit

Permalink
libbpf-tools: resolve KERNEL_VERSION macro redefined
Browse files Browse the repository at this point in the history
Signed-off-by: Hengqi Chen <[email protected]>
  • Loading branch information
chenhengqi authored and yonghong-song committed Apr 6, 2021
1 parent c8a2298 commit e83019b
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions libbpf-tools/biolatency.bpf.c
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@

#define MAX_ENTRIES 10240

#define KERNEL_VERSION(a, b, c) (((a) << 16) + ((b) << 8) + (c))

extern int LINUX_KERNEL_VERSION __kconfig;

const volatile bool targ_per_disk = false;
Expand Down

0 comments on commit e83019b

Please sign in to comment.