diff options
| author | Paolo Bonzini <pbonzini@redhat.com> | 2019-05-31 18:48:45 -0400 |
|---|---|---|
| committer | Paolo Bonzini <pbonzini@redhat.com> | 2019-05-31 18:48:45 -0400 |
| commit | 24e8a2ca1f74574ad2ed1ac7af0260dd90fd911e (patch) | |
| tree | c863dd43c84579d853f3a2ae0ee6ead46c967703 /tools/lib/bpf/libbpf_util.h | |
| parent | 66f61c92889ff3ca365161fb29dd36d6354682ba (diff) | |
| parent | d724c9e54939a597592de3659541da11fc7aa112 (diff) | |
Merge tag 'kvm-ppc-fixes-5.2-1' of git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc into kvm-master
PPC KVM fixes for 5.2
- Several bug fixes for the new XIVE-native code.
- Replace kvm->lock by other mutexes in several places where we hold a
vcpu mutex, to avoid lock order inversions.
- Fix a lockdep warning on guest entry for radix-mode guests.
- Fix a bug causing user-visible corruption of SPRG3 on the host.
Diffstat (limited to 'tools/lib/bpf/libbpf_util.h')
| -rw-r--r-- | tools/lib/bpf/libbpf_util.h | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/tools/lib/bpf/libbpf_util.h b/tools/lib/bpf/libbpf_util.h index da94c4cb2e4d..59c779c5790c 100644 --- a/tools/lib/bpf/libbpf_util.h +++ b/tools/lib/bpf/libbpf_util.h | |||
| @@ -10,19 +10,6 @@ | |||
| 10 | extern "C" { | 10 | extern "C" { |
| 11 | #endif | 11 | #endif |
| 12 | 12 | ||
| 13 | extern void libbpf_print(enum libbpf_print_level level, | ||
| 14 | const char *format, ...) | ||
| 15 | __attribute__((format(printf, 2, 3))); | ||
| 16 | |||
| 17 | #define __pr(level, fmt, ...) \ | ||
| 18 | do { \ | ||
| 19 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ||
| 20 | } while (0) | ||
| 21 | |||
| 22 | #define pr_warning(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) | ||
| 23 | #define pr_info(fmt, ...) __pr(LIBBPF_INFO, fmt, ##__VA_ARGS__) | ||
| 24 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) | ||
| 25 | |||
| 26 | /* Use these barrier functions instead of smp_[rw]mb() when they are | 13 | /* Use these barrier functions instead of smp_[rw]mb() when they are |
| 27 | * used in a libbpf header file. That way they can be built into the | 14 | * used in a libbpf header file. That way they can be built into the |
| 28 | * application that uses libbpf. | 15 | * application that uses libbpf. |
