Peter Zijlstra 40601542c4 perf: Fix function pointer case
commit 1af6239d1d3e61d33fd2f0ba53d3d1a67cc50574 upstream.

With the advent of CFI it is no longer acceptible to cast function
pointers.

The robot complains thusly:

  kernel-events-core.c⚠️cast-from-int-(-)(struct-perf_cpu_pmu_context-)-to-remote_function_f-(aka-int-(-)(void-)-)-converts-to-incompatible-function-type

Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Cixi Geng <cixi.geng1@unisoc.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-08-11 15:13:48 +02:00
..
2023-08-11 15:13:48 +02:00
2022-12-31 13:14:47 +01:00
2023-03-17 08:48:58 +01:00
2021-06-18 11:43:08 +02:00
2021-05-07 00:26:33 -07:00
2022-12-31 13:14:04 +01:00
2023-02-01 08:27:23 +01:00
2021-05-07 00:26:34 -07:00