diff options
-rw-r--r-- | kernel/perf_counter.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/perf_counter.c b/kernel/perf_counter.c index 37f771691f93..4be1a8d872b4 100644 --- a/kernel/perf_counter.c +++ b/kernel/perf_counter.c | |||
@@ -41,7 +41,7 @@ static DEFINE_MUTEX(perf_resource_mutex); | |||
41 | extern __weak const struct hw_perf_counter_ops * | 41 | extern __weak const struct hw_perf_counter_ops * |
42 | hw_perf_counter_init(struct perf_counter *counter) | 42 | hw_perf_counter_init(struct perf_counter *counter) |
43 | { | 43 | { |
44 | return ERR_PTR(-EINVAL); | 44 | return NULL; |
45 | } | 45 | } |
46 | 46 | ||
47 | u64 __weak hw_perf_save_disable(void) { return 0; } | 47 | u64 __weak hw_perf_save_disable(void) { return 0; } |