2005-05-06 18:38:30

by Kumar Gala

[permalink] [raw]
Subject: [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 <[email protected]>

---
commit c196b5792abdb89f18ee55fb5a84afe89b0fc92d
tree 82bf0144d326efbdfe33c81eb1a7e23bb9dc081b
parent 6741f3a7f9922391cd02b3ca1329e669497dc22f
author Kumar K. Gala <[email protected]> 1115399859 -0500
committer Kumar K. Gala <[email protected]> 1115399859 -0500

Index: arch/ppc/Kconfig
===================================================================
--- cda5ab7ce1bc4b36cb164e6daee18c7649348fb4/arch/ppc/Kconfig (mode:100644 sha1:d0d94e56b90b9ec8ab65c4780c4b0804663482af)
+++ 82bf0144d326efbdfe33c81eb1a7e23bb9dc081b/arch/ppc/Kconfig (mode:100644 sha1:600f23d7fd33aae9e5115875ada43a289e075b5d)
@@ -77,9 +77,11 @@
bool "44x"

config POWER3
+ select PPC_FPU
bool "POWER3"

config POWER4
+ select PPC_FPU
bool "POWER4 and 970 (G5)"

config 8xx


2005-05-06 23:31:20

by Paul Mackerras

[permalink] [raw]
Subject: Re: [PATCH] ppc32: Fix POWER3/POWER4 compiler error

Kumar Gala writes:

> 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 <[email protected]>
Acked-by: Paul Mackerras <[email protected]>