[PATCH 6/8] include: asm-generic/bug: break recursive dependency

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



<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





[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux