]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commitdiff
bug.h: add include of it to various implicit C users
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Fri, 20 Jan 2012 23:35:53 +0000 (18:35 -0500)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Wed, 29 Feb 2012 22:15:08 +0000 (17:15 -0500)
With bug.h currently living right in linux/kernel.h there
are files that use BUG_ON and friends but are not including
the header explicitly.  Fix them up so we can remove the
presence in kernel.h file.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
21 files changed:
arch/arm/mach-imx/cpu_op-mx51.c
arch/arm/mach-ux500/board-mop500-pins.c
arch/mips/fw/arc/cmdline.c
arch/mips/fw/arc/identify.c
arch/parisc/math-emu/fpudispatch.c
arch/powerpc/kernel/pmc.c
arch/powerpc/xmon/ppc-opc.c
arch/powerpc/xmon/spu-opc.c
arch/x86/kernel/paravirt.c
arch/x86/mm/kmemcheck/selftest.c
drivers/gpu/drm/radeon/cayman_blit_shaders.c
drivers/gpu/drm/radeon/evergreen_blit_shaders.c
drivers/gpu/drm/radeon/r600_blit_shaders.c
drivers/staging/wlags49_h2/hcf.c
lib/atomic64_test.c
lib/bitmap.c
lib/iommu-helper.c
lib/list_debug.c
lib/plist.c
lib/string.c
lib/timerqueue.c

index 9d34c3d4c02498f2f8972447235f485742dbdffb..7b92cd6da6d3f1ae8330f75dcf4b879c7f492ec5 100644 (file)
@@ -11,6 +11,7 @@
  * http://www.gnu.org/copyleft/gpl.html
  */
 
+#include <linux/bug.h>
 #include <linux/types.h>
 #include <mach/hardware.h>
 #include <linux/kernel.h>
index 74bfcff2bdf3732810b166b78f1991afdfb751d1..f5413dca532cf61e1d183420ab587020811f344d 100644 (file)
@@ -6,6 +6,7 @@
 
 #include <linux/kernel.h>
 #include <linux/init.h>
+#include <linux/bug.h>
 
 #include <asm/mach-types.h>
 #include <plat/pincfg.h>
index 9fdf07e50f1bf01fbe7794ef639e45ceaf3eb6ab..c0122a1dc58784a6304dbb76aadcff47a4904cfc 100644 (file)
@@ -7,6 +7,7 @@
  *
  * Copyright (C) 1996 David S. Miller (davem@davemloft.net)
  */
+#include <linux/bug.h>
 #include <linux/init.h>
 #include <linux/kernel.h>
 #include <linux/string.h>
index 788060a53dce228dc5a097e18481ffef033f4478..54a33c756f612dc3bf87432278cc79385ba37cae 100644 (file)
@@ -11,6 +11,7 @@
  *
  * Copyright (C) 1996 David S. Miller (davem@davemloft.net)
  */
+#include <linux/bug.h>
 #include <linux/init.h>
 #include <linux/kernel.h>
 #include <linux/types.h>
index 6e28f9f4c620fb94fb9d8910c51c6471173c0cee..673b73e8420d0fd5742264ad6c2214c43a78ef9a 100644 (file)
@@ -50,6 +50,7 @@
 #define FPUDEBUG 0
 
 #include "float.h"
+#include <linux/bug.h>
 #include <linux/kernel.h>
 #include <asm/processor.h>
 /* #include <sys/debug.h> */
index a841a9d136a2fb4401b743ac42a2acad039f7e87..58eaa3ddf7b9e857502a189f57734953af2f93cf 100644 (file)
@@ -13,6 +13,7 @@
  */
 
 #include <linux/errno.h>
+#include <linux/bug.h>
 #include <linux/spinlock.h>
 #include <linux/export.h>
 
index af3780e52e7607e11ff9fe573dd79cf84b0f32d2..6845e91ba04a5ef8c48265de04391f6da9adf547 100644 (file)
@@ -22,6 +22,7 @@
 
 #include <linux/stddef.h>
 #include <linux/kernel.h>
+#include <linux/bug.h>
 #include "nonstdio.h"
 #include "ppc.h"
 
index 530df3d6d7b238b047f5832e1787af538b1791c4..7d37597c4bcdd2752f3b443c17158d52120142fc 100644 (file)
@@ -19,6 +19,7 @@
    51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.  */
 
 #include <linux/kernel.h>
+#include <linux/bug.h>
 #include "spu.h"
 
 /* This file holds the Spu opcode table */
index d90272e6bc40bc75f34dfbcf158ffce3769203ab..83e7b81d2135df7a8c49995cc8cc61ce386f31ae 100644 (file)
@@ -26,6 +26,7 @@
 
 #include <asm/bug.h>
 #include <asm/paravirt.h>
+#include <asm/debugreg.h>
 #include <asm/desc.h>
 #include <asm/setup.h>
 #include <asm/pgtable.h>
index 036efbea8b2832679136abe34e19cd7ebdff6498..aef7140c00632bacba55162da625dd4d6d8e631d 100644 (file)
@@ -1,3 +1,4 @@
+#include <linux/bug.h>
 #include <linux/kernel.h>
 
 #include "opcode.h"
index 7b4eeb7b4a8c5c3205e1f5c91cd3e51c53658c42..19a0114d2e3b1f70a16a2b9f0e832f165908bdc7 100644 (file)
@@ -24,6 +24,7 @@
  *     Alex Deucher <alexander.deucher@amd.com>
  */
 
+#include <linux/bug.h>
 #include <linux/types.h>
 #include <linux/kernel.h>
 
index 3a10399e0066ab1d7fecc41b0c5fb02d0aeda755..f85c0af115b5e4411a2767847a54c181d89e4edc 100644 (file)
@@ -24,6 +24,7 @@
  *     Alex Deucher <alexander.deucher@amd.com>
  */
 
+#include <linux/bug.h>
 #include <linux/types.h>
 #include <linux/kernel.h>
 
index 2d1f6c5ee2a77e0466f91ceb2e4b4f28cd0cf218..3af3c6426a6e7785091a3a97d1c780d30fde7384 100644 (file)
@@ -24,6 +24,7 @@
  *     Alex Deucher <alexander.deucher@amd.com>
  */
 
+#include <linux/bug.h>
 #include <linux/types.h>
 #include <linux/kernel.h>
 
index b008773323b32f3e64bad92f65a8f838f4e1cb51..5957c3a439ace7fec16e7845923793cd5f101039 100644 (file)
@@ -91,6 +91,7 @@
 #include "hcf.h"                // HCF and MSF common include file
 #include "hcfdef.h"             // HCF specific include file
 #include "mmd.h"                // MoreModularDriver common include file
+#include <linux/bug.h>
 #include <linux/kernel.h>
 
 #if ! defined offsetof
index 0c33cde2a1e625e93b269351c9c2e957c95e366a..cb99b91c3a1d3af01b012fc421d69c8935733556 100644 (file)
@@ -9,6 +9,7 @@
  * (at your option) any later version.
  */
 #include <linux/init.h>
+#include <linux/bug.h>
 #include <linux/kernel.h>
 #include <linux/atomic.h>
 
index 0d4a127dd9b3d478091a471df6386b7f85b25bbc..90a683b34075a1d6c901630ffe0bf75c017f3d68 100644 (file)
@@ -10,6 +10,7 @@
 #include <linux/errno.h>
 #include <linux/bitmap.h>
 #include <linux/bitops.h>
+#include <linux/bug.h>
 #include <asm/uaccess.h>
 
 /*
index da053313ee5c089e099d02c9a368eb4f4aacaf56..8b1ab6222562ee9d973e51595c4bd9be9835c196 100644 (file)
@@ -4,6 +4,7 @@
 
 #include <linux/module.h>
 #include <linux/bitmap.h>
+#include <linux/bug.h>
 
 int iommu_is_span_boundary(unsigned int index, unsigned int nr,
                           unsigned long shift,
index 7204e619a4c1565b88bd498c2178f4627885310a..1bf2fe36f8135277c0976e5a3630cd50c087b8e7 100644 (file)
@@ -8,6 +8,7 @@
 
 #include <linux/module.h>
 #include <linux/list.h>
+#include <linux/bug.h>
 #include <linux/kernel.h>
 
 /*
index a0a4da489c22598748d7cea6da7e444d3b95f579..6ab0e521c48b93593c141a999e16b93937a993c0 100644 (file)
@@ -23,6 +23,7 @@
  * information.
  */
 
+#include <linux/bug.h>
 #include <linux/plist.h>
 #include <linux/spinlock.h>
 
index dc4a86341f914f0c26b92977d6f99dcc4df482c2..0573a20df9a6d85c7d559c608ea42df8140163a8 100644 (file)
@@ -22,6 +22,7 @@
 #include <linux/types.h>
 #include <linux/string.h>
 #include <linux/ctype.h>
+#include <linux/bug.h>
 #include <linux/module.h>
 
 #ifndef __HAVE_ARCH_STRNICMP
index 191176a43e9a2523d37aa4381d08b3421c3bcfa7..14c640355eb1245a757fd37cba8d8ee9c9661d8e 100644 (file)
@@ -22,6 +22,7 @@
  *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  */
 
+#include <linux/bug.h>
 #include <linux/timerqueue.h>
 #include <linux/rbtree.h>
 #include <linux/module.h>