[PATCH] bogus BUILD_BUG_ON() in bpa_iommu
commitc215a16a4ad620b612b51495cbb99dbbb59bb585
authorAl Viro <viro@ftp.linux.org.uk>
Fri, 30 Sep 2005 02:36:50 +0000 (30 03:36 +0100)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 30 Sep 2005 15:42:24 +0000 (30 08:42 -0700)
treec6abecc19111e112cd1825cab2e0e9d7d12e507b
parent4735885701d7c24ed54f35f5102d32b3aabee55e
[PATCH] bogus BUILD_BUG_ON() in bpa_iommu

BUILD_BUG_ON(1) is asking for trouble (and getting it) when used in that
manner - dead code elimination happens after we parse it and invalid
type is invalid type, dead code or not.

It might be version-dependent, but at least 4.0.1 refuses to accept
that.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/ppc64/kernel/bpa_iommu.c