Ingo Molnar 301cf77e21 x86/orc: Make the is_callthunk() definition depend on CONFIG_BPF_JIT=y
Recent commit:

  020126239b8f Revert "x86/orc: Make it callthunk aware"

Made the only user of is_callthunk() depend on CONFIG_BPF_JIT=y, while
the definition of the helper function is unconditional.

Move is_callthunk() inside the #ifdef block.

Addresses this build failure:

   arch/x86/kernel/callthunks.c:296:13: error: ‘is_callthunk’ defined but not used [-Werror=unused-function]

Signed-off-by: Ingo Molnar <mingo@kernel.org>
Cc: Josh Poimboeuf <jpoimboe@kernel.org>
Cc: linux-kernel@vger.kernel.org
Cc: Peter Zijlstra <peterz@infradead.org>
2023-06-09 11:09:04 +02:00
..
2023-04-25 11:39:45 -07:00
2023-04-25 11:39:45 -07:00
2023-02-23 13:03:08 -08:00
2022-09-26 10:13:16 -07:00
2022-04-19 17:14:09 -07:00
2023-04-28 14:02:54 -07:00
2022-12-17 14:06:53 -06:00
2022-12-02 14:06:34 +01:00
2023-04-28 14:02:54 -07:00
2022-04-07 08:27:51 -07:00
2022-12-15 11:12:21 -08:00
2023-02-25 11:30:21 -08:00
2023-04-30 13:00:38 -07:00
2023-04-28 14:02:54 -07:00
2021-12-01 00:06:43 +01:00
2022-12-10 10:33:11 -06:00
2023-01-06 04:22:34 +01:00
2023-04-28 14:02:54 -07:00
2022-02-25 09:36:05 +01:00
2022-09-26 19:46:16 -07:00
2021-10-25 23:02:36 -04:00
2023-04-30 13:00:38 -07:00
2022-04-14 14:09:43 +02:00