summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Gortmaker <paul.gortmaker@windriver.com>2011-11-24 03:39:49 +0100
committerPaul Gortmaker <paul.gortmaker@windriver.com>2012-03-04 23:54:36 +0100
commit6c03438edeb5c359af35f060ea016ca65671c269 (patch)
tree3d43c0b21721a4e6fa09a2b7a409b62ce6f022fe
parentbug: consolidate BUILD_BUG_ON with other bug code (diff)
downloadlinux-6c03438edeb5c359af35f060ea016ca65671c269.tar.xz
linux-6c03438edeb5c359af35f060ea016ca65671c269.zip
kernel.h: doesn't explicitly use bug.h, so don't include it.
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>
-rw-r--r--include/linux/kernel.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/kernel.h b/include/linux/kernel.h
index 5dba983b8d65..bef5480396d0 100644
--- a/include/linux/kernel.h
+++ b/include/linux/kernel.h
@@ -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))