Subject: powerpc: disable floating point exceptions for init Floating point exceptions should not be enabled by default, as this setting impacts the performance on some CPUs, in particular the Cell BE. glibc sets this up correctly per thread in its fesetenv function, so user space should not be impacted by this setting. Signed-off-by: Arnd Bergmann --- Index: linus-2.6/include/asm-powerpc/processor.h =================================================================== --- linus-2.6.orig/include/asm-powerpc/processor.h +++ linus-2.6/include/asm-powerpc/processor.h @@ -190,7 +190,7 @@ struct thread_struct { .fs = KERNEL_DS, \ .fpr = {0}, \ .fpscr = { .val = 0, }, \ - .fpexc_mode = MSR_FE0|MSR_FE1, \ + .fpexc_mode = 0, \ } #endif