diff options
author | Scott Wood <scottwood@freescale.com> | 2007-09-18 15:29:35 -0500 |
---|---|---|
committer | Kumar Gala <galak@kernel.crashing.org> | 2007-10-04 11:02:54 -0500 |
commit | 5dd57a1308a7e40e04fb6ecbff170df7a0b92cd8 (patch) | |
tree | 7766bea806c977c47624e43c1c21a2a11ff1782d /arch/powerpc/Kconfig | |
parent | c4e05bc57dd14294683cdea7fe36ce3c01f5c6ae (diff) | |
download | kernel_samsung_smdk4412-5dd57a1308a7e40e04fb6ecbff170df7a0b92cd8.zip kernel_samsung_smdk4412-5dd57a1308a7e40e04fb6ecbff170df7a0b92cd8.tar.gz kernel_samsung_smdk4412-5dd57a1308a7e40e04fb6ecbff170df7a0b92cd8.tar.bz2 |
[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 6f5155d..3180457 100644 --- a/arch/powerpc/Kconfig +++ b/arch/powerpc/Kconfig @@ -198,6 +198,17 @@ config MATH_EMULATION unit, which will allow programs that use floating-point instructions to run. +config 8XX_MINIMAL_FPEMU + bool "Minimal math emulation for 8xx" + depends on 8xx && !MATH_EMULATION + help + Older arch/ppc kernels still emulated a few floating point + instructions such as load and store, even when full math + emulation is disabled. Say "Y" here if you want to preserve + this behavior. + + It is recommended that you build a soft-float userspace instead. + config IOMMU_VMERGE bool "Enable IOMMU virtual merging" depends on PPC64 |