From: Kumar Gala <galak@freescale.com>
Date: Sat, 7 May 2005 04:30:41 +0000 (-0700)
Subject: [PATCH] ppc32: Fix POWER3/POWER4 compiler error
X-Git-Tag: v2.6.12-rc4~15
X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=b272125273103458b9727df1868b81bae64f44cb;p=users%2Fjedix%2Flinux-maple.git

[PATCH] ppc32: Fix POWER3/POWER4 compiler error

In separating out support for hardware floating point we missed the fact
that both POWER3 and POWER4 have HW FP.  Enable CONFIG_PPC_FPU for POWER3
and POWER4 fixes the issue.

Signed-off-by: Kumar Gala <kumar.gala@freescale.com>
Acked-by: Paul Mackerras <paulus@samba.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
---

diff --git a/arch/ppc/Kconfig b/arch/ppc/Kconfig
index d0d94e56b90b..600f23d7fd33 100644
--- a/arch/ppc/Kconfig
+++ b/arch/ppc/Kconfig
@@ -77,9 +77,11 @@ config 44x
 	bool "44x"
 
 config POWER3
+	select PPC_FPU
 	bool "POWER3"
 
 config POWER4
+	select PPC_FPU
 	bool "POWER4 and 970 (G5)"
 
 config 8xx