<linux/kernel.h> was included because it used to define panic(). This is no longer the case and it's now defined in <printk.h>, so it's ok to drop this header. Signed-off-by: Ahmad Fatoum <a.fatoum@xxxxxxxxxxxxxx> --- include/asm-generic/bug.h | 1 - 1 file changed, 1 deletion(-) diff --git a/include/asm-generic/bug.h b/include/asm-generic/bug.h index 18a1b419ff07..0277527491cf 100644 --- a/include/asm-generic/bug.h +++ b/include/asm-generic/bug.h @@ -4,7 +4,6 @@ #define _ASM_GENERIC_BUG_H #include <linux/compiler.h> -#include <linux/kernel.h> #include <printk.h> #define BUG() do { \ -- 2.39.2