Skip to content
Commit 33575562 authored by Max Filippov's avatar Max Filippov Committed by Paul Gortmaker
Browse files

xtensa: fix xtensa_pmu_setup prototype

commit 6d65d376 upstream.

Fix the following build error in configurations with
CONFIG_XTENSA_VARIANT_HAVE_PERF_EVENTS=y:

  arch/xtensa/kernel/perf_event.c:420:29: error: passing argument 3 of
  ‘cpuhp_setup_state’ from incompatible pointer type

Cc: stable@vger.kernel.org
Fixes: 25a77b55

 ("xtensa/perf: Convert the hotplug notifier to state machine callbacks")
Signed-off-by: default avatarMax Filippov <jcmvbkbc@gmail.com>
Signed-off-by: default avatarPaul Gortmaker <paul.gortmaker@windriver.com>
parent f154bb84
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment