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
..
2023-11-04 15:58:13 -10:00
2023-10-30 19:09:55 -10:00
2023-11-04 08:07:19 -10:00
2023-10-30 17:37:47 -10:00
2023-09-17 09:49:03 +02:00
2023-04-08 13:45:37 -07:00
2023-10-18 17:16:09 +09:00
2023-10-30 17:37:47 -10:00
2023-05-15 20:03:08 +02:00
2023-11-04 08:07:19 -10:00