diff options
author | Scott Wood <scottwood@freescale.com> | 2007-09-18 16:29:35 -0400 |
---|---|---|
committer | Kumar Gala <galak@kernel.crashing.org> | 2007-10-04 12:02:54 -0400 |
commit | 5dd57a1308a7e40e04fb6ecbff170df7a0b92cd8 (patch) | |
tree | 7766bea806c977c47624e43c1c21a2a11ff1782d /arch/powerpc/Kconfig | |
parent | c4e05bc57dd14294683cdea7fe36ce3c01f5c6ae (diff) |
[POWERPC] 8xx: Move softemu8xx.c from arch/ppc
Previously, Soft_emulate_8xx was called with no implementation, resulting in
build failures whenever building 8xx without math emulation. The
implementation is copied from arch/ppc to resolve this issue.
However, this sort of minimal emulation is not a very good idea other than
for compatibility with existing userspaces, as it's less efficient than
soft-float and can mislead users into believing they have soft-float. Thus,
it is made a configurable option, off by default.
Signed-off-by: Scott Wood <scottwood@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/Kconfig')
-rw-r--r-- | arch/powerpc/Kconfig | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig index 6f5155d8c324..31804575dd5e 100644 --- a/arch/powerpc/Kconfig +++ b/arch/powerpc/Kconfig | |||
@@ -198,6 +198,17 @@ config MATH_EMULATION | |||
198 | unit, which will allow programs that use floating-point | 198 | unit, which will allow programs that use floating-point |
199 | instructions to run. | 199 | instructions to run. |
200 | 200 | ||
201 | config 8XX_MINIMAL_FPEMU | ||
202 | bool "Minimal math emulation for 8xx" | ||
203 | depends on 8xx && !MATH_EMULATION | ||
204 | help | ||
205 | Older arch/ppc kernels still emulated a few floating point | ||
206 | instructions such as load and store, even when full math | ||
207 | emulation is disabled. Say "Y" here if you want to preserve | ||
208 | this behavior. | ||
209 | |||
210 | It is recommended that you build a soft-float userspace instead. | ||
211 | |||
201 | config IOMMU_VMERGE | 212 | config IOMMU_VMERGE |
202 | bool "Enable IOMMU virtual merging" | 213 | bool "Enable IOMMU virtual merging" |
203 | depends on PPC64 | 214 | depends on PPC64 |