diff options
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/perf_event.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/perf_event.c b/kernel/perf_event.c index 7f29643c8985..759a629cc4bc 100644 --- a/kernel/perf_event.c +++ b/kernel/perf_event.c | |||
@@ -419,7 +419,7 @@ static void perf_event_remove_from_context(struct perf_event *event) | |||
419 | if (!task) { | 419 | if (!task) { |
420 | /* | 420 | /* |
421 | * Per cpu events are removed via an smp call and | 421 | * Per cpu events are removed via an smp call and |
422 | * the removal is always sucessful. | 422 | * the removal is always successful. |
423 | */ | 423 | */ |
424 | smp_call_function_single(event->cpu, | 424 | smp_call_function_single(event->cpu, |
425 | __perf_event_remove_from_context, | 425 | __perf_event_remove_from_context, |
@@ -827,7 +827,7 @@ perf_install_in_context(struct perf_event_context *ctx, | |||
827 | if (!task) { | 827 | if (!task) { |
828 | /* | 828 | /* |
829 | * Per cpu events are installed via an smp call and | 829 | * Per cpu events are installed via an smp call and |
830 | * the install is always sucessful. | 830 | * the install is always successful. |
831 | */ | 831 | */ |
832 | smp_call_function_single(cpu, __perf_install_in_context, | 832 | smp_call_function_single(cpu, __perf_install_in_context, |
833 | event, 1); | 833 | event, 1); |