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 /kernel/trace/bpf_trace.c | |
| 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 'kernel/trace/bpf_trace.c')
| -rw-r--r-- | kernel/trace/bpf_trace.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/kernel/trace/bpf_trace.c b/kernel/trace/bpf_trace.c index b496ffdf5f36..f92d6ad5e080 100644 --- a/kernel/trace/bpf_trace.c +++ b/kernel/trace/bpf_trace.c | |||
| @@ -1297,7 +1297,8 @@ int bpf_get_perf_event_info(const struct perf_event *event, u32 *prog_id, | |||
| 1297 | } | 1297 | } |
| 1298 | 1298 | ||
| 1299 | #ifdef CONFIG_MODULES | 1299 | #ifdef CONFIG_MODULES |
| 1300 | int bpf_event_notify(struct notifier_block *nb, unsigned long op, void *module) | 1300 | static int bpf_event_notify(struct notifier_block *nb, unsigned long op, |
| 1301 | void *module) | ||
| 1301 | { | 1302 | { |
| 1302 | struct bpf_trace_module *btm, *tmp; | 1303 | struct bpf_trace_module *btm, *tmp; |
| 1303 | struct module *mod = module; | 1304 | struct module *mod = module; |
| @@ -1336,7 +1337,7 @@ static struct notifier_block bpf_module_nb = { | |||
| 1336 | .notifier_call = bpf_event_notify, | 1337 | .notifier_call = bpf_event_notify, |
| 1337 | }; | 1338 | }; |
| 1338 | 1339 | ||
| 1339 | int __init bpf_event_init(void) | 1340 | static int __init bpf_event_init(void) |
| 1340 | { | 1341 | { |
| 1341 | register_module_notifier(&bpf_module_nb); | 1342 | register_module_notifier(&bpf_module_nb); |
| 1342 | return 0; | 1343 | return 0; |
