aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/sysdev/cpm_common.c
diff options
context:
space:
mode:
authorKumar Gala <galak@kernel.crashing.org>2007-10-18 16:53:19 -0500
committerKumar Gala <galak@kernel.crashing.org>2007-11-09 03:47:29 -0600
commit0197cd2e350a7151080e7335577e956f1f84a8cb (patch)
tree4ac1a37fbb9a8b8ec6c98f3d692bcd18c8b439b2 /arch/powerpc/sysdev/cpm_common.c
parentMerge branch 'for-2.6.24' of master.kernel.org:/pub/scm/linux/kernel/git/jwboyer/powerpc-4xx into merge (diff)
downloadlinux-dev-0197cd2e350a7151080e7335577e956f1f84a8cb.tar.xz
linux-dev-0197cd2e350a7151080e7335577e956f1f84a8cb.zip
[POWERPC] Add -mno-spe for ARCH=powerpc builds
Newer GCC's are capable of autovectorization for ISA extensions like AltiVec and SPE. If we happen to build with one of those compilers we will get SPE instructions in random kernel code. Today we only allow basic interger code in the kernel and FP, AltiVec, or SPE in special explicit locations that have handled the proper saving and restoring of the register state (since on uniprocessor we lazy context switch the register state for FP, AltiVec, and SPE). -mno-spe disables the compiler for automatically generating SPE instructions without our knowledge. Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/sysdev/cpm_common.c')
0 files changed, 0 insertions, 0 deletions