OSDN Git Service

kernel.h: doesn't explicitly use bug.h, so don't include it.
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Thu, 24 Nov 2011 02:39:49 +0000 (21:39 -0500)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Sun, 4 Mar 2012 22:54:36 +0000 (17:54 -0500)
This header isn't using bug.h infrastructure, but due to historical
reasons, it was including it.  Removing it revealed several implicit
dependencies (since kernel.h is everywhere) so we've fixed those 1st
before deploying this change.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
include/linux/kernel.h

index 5dba983..bef5480 100644 (file)
@@ -20,7 +20,6 @@
 #include <linux/printk.h>
 #include <linux/dynamic_debug.h>
 #include <asm/byteorder.h>
-#include <asm/bug.h>
 
 #define USHRT_MAX      ((u16)(~0U))
 #define SHRT_MAX       ((s16)(USHRT_MAX>>1))