diff mbox

powerpc: On POWERNV enable PPC_DENORMALISATION by default

Message ID 20130731163126.051976be@kryten (mailing list archive)
State Accepted, archived
Commit 4e90a2a7375e86827541bda9393414c03e7721c6
Delegated to: Benjamin Herrenschmidt
Headers show

Commit Message

Anton Blanchard July 31, 2013, 6:31 a.m. UTC
We want PPC_DENORMALISATION enabled when POWERNV is enabled,
so update the Kconfig.

Signed-off-by: Anton Blanchard <anton@samba.org>
---

Comments

Michael Neuling July 31, 2013, 6:34 a.m. UTC | #1
Anton Blanchard <anton@samba.org> wrote:

> 
> We want PPC_DENORMALISATION enabled when POWERNV is enabled,
> so update the Kconfig.
> 
> Signed-off-by: Anton Blanchard <anton@samba.org>

Acked-by: Michael Neuling <mikey@neuling.org>

> ---
> 
> Index: b/arch/powerpc/Kconfig
> ===================================================================
> --- a/arch/powerpc/Kconfig
> +++ b/arch/powerpc/Kconfig
> @@ -566,7 +566,7 @@ config SCHED_SMT
>  config PPC_DENORMALISATION
>  	bool "PowerPC denormalisation exception handling"
>  	depends on PPC_BOOK3S_64
> -	default "n"
> +	default "y" if PPC_POWERNV
>  	---help---
>  	  Add support for handling denormalisation of single precision
>  	  values.  Useful for bare metal only.  If unsure say Y here.
>
diff mbox

Patch

Index: b/arch/powerpc/Kconfig
===================================================================
--- a/arch/powerpc/Kconfig
+++ b/arch/powerpc/Kconfig
@@ -566,7 +566,7 @@  config SCHED_SMT
 config PPC_DENORMALISATION
 	bool "PowerPC denormalisation exception handling"
 	depends on PPC_BOOK3S_64
-	default "n"
+	default "y" if PPC_POWERNV
 	---help---
 	  Add support for handling denormalisation of single precision
 	  values.  Useful for bare metal only.  If unsure say Y here.