forbid asm/bitops.h direct inclusion
commit0624517d809b1cf53c977335c9bda4c216cbddee
authorJiri Slaby <jirislaby@gmail.com>
Fri, 19 Oct 2007 06:40:26 +0000 (18 23:40 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Fri, 19 Oct 2007 18:53:41 +0000 (19 11:53 -0700)
tree5791430160f4423cab3c6085baed815e10c421f7
parent1977f032722c27ee3730284582fd3991ad9ac81b
forbid asm/bitops.h direct inclusion

forbid asm/bitops.h direct inclusion

Because of compile errors that may occur after bit changes if asm/bitops.h is
included directly without e.g.  linux/kernel.h which includes linux/bitops.h,
forbid direct inclusion of asm/bitops.h.  Thanks to Adrian Bunk.

Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
Cc: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
25 files changed:
include/asm-alpha/bitops.h
include/asm-arm/bitops.h
include/asm-avr32/bitops.h
include/asm-blackfin/bitops.h
include/asm-cris/bitops.h
include/asm-frv/bitops.h
include/asm-generic/bitops.h
include/asm-h8300/bitops.h
include/asm-ia64/bitops.h
include/asm-m32r/bitops.h
include/asm-m68k/bitops.h
include/asm-m68knommu/bitops.h
include/asm-mips/bitops.h
include/asm-parisc/bitops.h
include/asm-powerpc/bitops.h
include/asm-s390/bitops.h
include/asm-sh/bitops.h
include/asm-sh64/bitops.h
include/asm-sparc/bitops.h
include/asm-sparc64/bitops.h
include/asm-um/bitops.h
include/asm-v850/bitops.h
include/asm-x86/bitops_32.h
include/asm-x86/bitops_64.h
include/asm-xtensa/bitops.h