kernel-fxtec-pro1x/arch/powerpc
Kevin Hao 037f0eed57 powerpc: Make flush_fp_to_thread() nop when CONFIG_PPC_FPU is disabled
In the current kernel, the function flush_fp_to_thread() is not
dependent on CONFIG_PPC_FPU. So most invocations of this function
is not wrapped by CONFIG_PPC_FPU. Even through we don't really
save the FPRs to the thread struct if CONFIG_PPC_FPU is not enabled,
but there does have some runtime overhead such as the check for
tsk->thread.regs and preempt disable and enable. It really make
no sense to do that. So make it a nop when CONFIG_PPC_FPU is
disabled. Also remove the wrapped #ifdef CONFIG_PPC_FPU
when invoking this function.

Signed-off-by: Kevin Hao <haokexin@gmail.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
2013-08-14 14:59:44 +10:00
..
boot powerpc/85xx: add the P1020RDB-PD DTS support 2013-08-07 18:38:07 -05:00
configs powerpc/mpc85xx: Only emulate the unimplemented FP instructions on corenet64 2013-08-14 14:59:31 +10:00
crypto powerpc: Fix compile of sha1-powerpc-asm.S on 32-bit 2013-03-05 16:56:26 +11:00
include powerpc: Make flush_fp_to_thread() nop when CONFIG_PPC_FPU is disabled 2013-08-14 14:59:44 +10:00
kernel powerpc: Make flush_fp_to_thread() nop when CONFIG_PPC_FPU is disabled 2013-08-14 14:59:44 +10:00
kvm powerpc: Stop using non-architected shared_proc field in lppaca 2013-08-14 11:50:26 +10:00
lib powerpc: Fix single step emulation of 32bit overflowed branches 2013-06-20 16:55:13 +10:00
math-emu powerpc: Make flush_fp_to_thread() nop when CONFIG_PPC_FPU is disabled 2013-08-14 14:59:44 +10:00
mm powerpc: Implement __get_user_pages_fast() 2013-08-14 14:57:14 +10:00
net ppc: bpf_jit: can call module_free() from any context 2013-05-20 14:03:50 -07:00
oprofile powerpc/perf: add 2 additional performance monitor counters for e6500 core 2013-08-07 18:38:03 -05:00
perf powerpc: Fix a number of sparse warnings 2013-08-14 11:50:24 +10:00
platforms powerpc/powernv: Enable detection of legacy UARTs 2013-08-14 14:58:34 +10:00
sysdev powerpc/pci: fix PCI-e check link issue 2013-08-07 18:38:08 -05:00
xmon Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc 2013-05-02 10:16:16 -07:00
Kconfig powerpc: split She math emulation into two parts 2013-08-14 14:59:19 +10:00
Kconfig.debug Merge branch 'kconfig-diet' from Dave Hansen 2013-07-04 11:25:51 -07:00
Makefile powerpc/e500: Update compilation flags with core specific options 2013-08-07 18:49:44 -05:00
relocs_check.pl Fix warning typo "CONFIG_RELCOATABLE" 2013-05-29 15:11:30 +02:00