ppc64: BPA iommu fails to build (BUILD_BUG_ON)
Arnd Bergmann
arnd at arndb.de
Sun Sep 18 03:22:13 EST 2005
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 at de.ibm.com>
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;
}
More information about the Linuxppc64-dev
mailing list