diff options
Diffstat (limited to 'kernel/events/core.c')
-rw-r--r-- | kernel/events/core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/events/core.c b/kernel/events/core.c index 7e0962ed7f8a..4d3124b39277 100644 --- a/kernel/events/core.c +++ b/kernel/events/core.c | |||
@@ -5331,7 +5331,7 @@ static void sw_perf_event_destroy(struct perf_event *event) | |||
5331 | 5331 | ||
5332 | static int perf_swevent_init(struct perf_event *event) | 5332 | static int perf_swevent_init(struct perf_event *event) |
5333 | { | 5333 | { |
5334 | int event_id = event->attr.config; | 5334 | u64 event_id = event->attr.config; |
5335 | 5335 | ||
5336 | if (event->attr.type != PERF_TYPE_SOFTWARE) | 5336 | if (event->attr.type != PERF_TYPE_SOFTWARE) |
5337 | return -ENOENT; | 5337 | return -ENOENT; |