Arnd Bergmann abc28463c8 kprobes: unify kprobes_exceptions_nofify() prototypes
Most architectures that support kprobes declare this function in their
own asm/kprobes.h header and provide an override, but some are missing
the prototype, which causes a warning for the __weak stub implementation:

kernel/kprobes.c:1865:12: error: no previous prototype for 'kprobe_exceptions_notify' [-Werror=missing-prototypes]
 1865 | int __weak kprobe_exceptions_notify(struct notifier_block *self,

Move the prototype into linux/kprobes.h so it is visible to all
the definitions.

Link: https://lore.kernel.org/all/20231108125843.3806765-4-arnd@kernel.org/

Acked-by: Masami Hiramatsu (Google) <mhiramat@kernel.org>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Masami Hiramatsu (Google) <mhiramat@kernel.org>
2023-11-10 19:59:05 +09:00
..
2021-07-27 09:39:15 +02:00
2023-07-03 11:19:42 +02:00
2022-05-11 14:40:57 +02:00
2020-08-26 18:47:21 +02:00
2023-06-05 09:36:39 +02:00
2023-06-05 09:36:40 +02:00
2023-07-24 12:12:24 +02:00
2020-12-16 14:55:49 +01:00
2022-07-13 14:42:11 +00:00
2023-02-15 11:07:01 +01:00
2023-08-18 10:12:34 -07:00
2022-12-06 16:18:22 +01:00
2023-08-09 15:20:51 +02:00
2023-11-05 22:34:58 +01:00
2021-08-03 14:31:40 +02:00
2023-10-02 08:43:00 +02:00
2023-10-02 08:43:00 +02:00
2023-06-05 09:36:39 +02:00
2023-09-19 13:26:56 +02:00
2020-09-14 11:38:35 +02:00
2022-06-30 19:40:36 +02:00
2023-11-05 22:34:58 +01:00
2022-05-11 14:40:57 +02:00
2021-06-18 16:41:21 +02:00
2022-01-30 21:17:00 -05:00
2021-07-08 15:37:28 +02:00
2021-01-19 12:29:26 +01:00