[PATCH 6/8] include: asm-generic/bug: break recursive dependency
Ahmad Fatoum
a.fatoum at pengutronix.de
Tue Jul 16 04:58:32 PDT 2024
<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 at pengutronix.de>
---
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
More information about the barebox
mailing list