]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
powerpc: Add CONFIG_VSX config option
authorMichael Neuling <mikey@neuling.org>
Wed, 25 Jun 2008 04:07:18 +0000 (14:07 +1000)
committerPaul Mackerras <paulus@samba.org>
Tue, 1 Jul 2008 01:28:51 +0000 (11:28 +1000)
Add CONFIG_VSX config build option.  Must compile with POWER4, FPU and ALTIVEC.

Signed-off-by: Michael Neuling <mikey@neuling.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/platforms/Kconfig.cputype

index c66b8ed7e7d9dde2e23115f4d633bb7293c9ac02..5bc4b611ff882b715d5bfb0baa7982810ddbd96f 100644 (file)
@@ -160,6 +160,22 @@ config ALTIVEC
 
          If in doubt, say Y here.
 
+config VSX
+       bool "VSX Support"
+       depends on POWER4 && ALTIVEC && PPC_FPU
+       ---help---
+
+         This option enables kernel support for the Vector Scaler extensions
+         to the PowerPC processor. The kernel currently supports saving and
+         restoring VSX registers, and turning on the 'VSX enable' bit so user
+         processes can execute VSX instructions.
+
+         This option is only useful if you have a processor that supports
+         VSX (P7 and above), but does not have any affect on a non-VSX
+         CPUs (it does, however add code to the kernel).
+
+         If in doubt, say Y here.
+
 config SPE
        bool "SPE Support"
        depends on E200 || (E500 && !PPC_E500MC)