--- zzzz-none-000/linux-5.15.111/include/linux/panic.h 2023-05-11 14:00:40.000000000 +0000 +++ puma7-arm-6670-761/linux-5.15.111/include/linux/panic.h 2024-02-07 09:28:07.000000000 +0000 @@ -1,4 +1,8 @@ /* SPDX-License-Identifier: GPL-2.0 */ +/* + * Includes Intel Corporation's changes/modifications dated: 2017. + * Changed/modified portions - Copyright (c) 2017, Intel Corporation. + */ #ifndef _LINUX_PANIC_H #define _LINUX_PANIC_H @@ -8,8 +12,13 @@ struct pt_regs; extern long (*panic_blink)(int state); +#ifdef CONFIG_FULL_PANIC __printf(1, 2) void panic(const char *fmt, ...) __noreturn __cold; +#else +#define panic(fmt, ...) tiny_panic(0, ## __VA_ARGS__) +void tiny_panic(int a, ...) __noreturn; +#endif void nmi_panic(struct pt_regs *regs, const char *msg); void check_panic_on_warn(const char *origin); extern void oops_enter(void);