kernel-ark/include
Andi Kleen 921717a2a1 [PATCH] Make BUILD_BUG_ON fail at compile time.
Force a compiler error instead of a link error, because they are easier to
track down.  Idea stolen from code by Jan Beulich <jbeulich@novell.com>

If the argument to BUILD_BUG_ON evaluates to non-zero the compiler will do:

	t.c:6: error: size of array `type name' is negative

(surprised that gcc doesn't have an extension for this)

Signed-off-by: "Andi Kleen" <ak@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-09-13 08:22:28 -07:00
..
acpi
asm-alpha
asm-arm Merge master.kernel.org:/home/rmk/linux-2.6-arm 2005-09-10 10:16:47 -07:00
asm-arm26
asm-cris
asm-frv
asm-generic [PATCH] x86-64: Increase TLB flush array size 2005-09-12 10:49:58 -07:00
asm-h8300
asm-i386 [PATCH] x86-64: i386/x86-64: Fix time going twice as fast problem on ATI Xpress chipsets 2005-09-12 10:50:58 -07:00
asm-ia64 Pull sn-features into release branch 2005-09-11 14:34:23 -07:00
asm-m32r
asm-m68k
asm-m68knommu [PATCH] m68knommu: optimized local_irq_disable, and platform reboot code 2005-09-12 20:04:15 -07:00
asm-mips
asm-parisc
asm-powerpc [PATCH] ppc64: Add definitions for new PTRACE calls 2005-09-12 17:19:12 +10:00
asm-ppc [PATCH] ppc32: remove use of asm/segment.h 2005-09-13 08:22:28 -07:00
asm-ppc64 [PATCH] ppc64: Remove unused code 2005-09-12 17:19:12 +10:00
asm-s390
asm-sh
asm-sh64
asm-sparc
asm-sparc64
asm-um [PATCH] uml spinlock breakage 2005-09-10 16:50:01 -07:00
asm-v850
asm-x86_64 [PATCH] x86-64: clean up local_add/sub arguments 2005-09-12 10:50:59 -07:00
asm-xtensa
linux [PATCH] Make BUILD_BUG_ON fail at compile time. 2005-09-13 08:22:28 -07:00
math-emu
media
mtd
net [NETROM]: Introduct stuct nr_private 2005-09-12 14:28:03 -07:00
pcmcia
rdma
rxrpc
scsi [SCSI] Alter the scsi_add_device() API to conform to what users expect 2005-09-10 14:43:25 -05:00
sound
video