Re: ppc64: BPA iommu fails to build (BUILD_BUG_ON)

From: Arnd Bergmann
Date: Sat Sep 17 2005 - 12:21:56 EST


On Sünnavend 17 September 2005 10:01, Alexey Dobriyan wrote:

> After a patch to make BUILD_BUG_ON error at compile-time went in
> 2.6.14-git1, arch/ppc64/kernel/bpa_iommu.c fails to build

This patch fixes that, I forgot to send it out with the previous updates.
Please apply.

Signed-off-by: Arnd Bergmann <arndb@xxxxxxxxxx>

Index: linux-cg/arch/ppc64/kernel/bpa_iommu.c
===================================================================
--- linux-cg.orig/arch/ppc64/kernel/bpa_iommu.c
+++ linux-cg/arch/ppc64/kernel/bpa_iommu.c
@@ -99,7 +99,7 @@ get_iost_entry(unsigned long iopt_base,
break;

default: /* not a known compile time constant */
- BUILD_BUG_ON(1);
+ BUG();
break;
}

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/