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
..
2013-08-14 11:50:20 +10:00
2013-07-01 11:50:07 +10:00
2013-08-14 14:57:40 +10:00
2013-07-01 11:10:36 +10:00
2013-07-30 15:50:07 -05:00
2013-05-24 18:13:44 +10:00
2013-08-09 16:01:40 +10:00
2013-07-03 16:08:03 -07:00
2013-07-24 14:18:46 +10:00
2013-06-20 17:05:35 +10:00
2013-07-24 14:18:49 +10:00
2013-06-25 17:24:41 +10:00
2013-07-24 14:18:49 +10:00
2013-07-24 14:18:49 +10:00
2013-07-24 14:18:49 +10:00
2013-06-01 08:29:27 +10:00
2013-08-14 14:57:47 +10:00
2013-08-07 18:38:06 -05:00
2013-08-14 14:57:47 +10:00
2013-07-01 17:57:25 +10:00
2013-05-02 10:31:01 +10:00
2013-08-14 11:50:19 +10:00
2013-05-02 10:31:01 +10:00
2013-05-02 10:31:01 +10:00
2013-07-02 08:20:49 +10:00
2013-06-12 12:37:26 +01:00
2013-07-01 11:10:35 +10:00
2013-08-14 14:57:50 +10:00
2013-08-14 14:58:08 +10:00
2013-06-20 16:55:14 +10:00
2013-08-01 13:11:46 +10:00
2013-06-20 16:55:09 +10:00
2013-07-03 16:07:32 -07:00
2013-08-14 14:58:21 +10:00
2013-08-14 11:50:26 +10:00
2013-05-14 14:36:23 +10:00
2013-08-14 14:58:53 +10:00
2013-08-14 14:56:44 +10:00
2013-08-14 14:59:25 +10:00
2013-07-01 11:46:56 +10:00
2013-05-06 13:40:40 +10:00
2013-08-14 11:50:25 +10:00
2013-05-24 18:13:45 +10:00
2013-07-24 14:18:48 +10:00
2013-08-14 14:57:36 +10:00
2013-07-24 14:18:48 +10:00
2013-08-14 14:56:44 +10:00
2013-06-29 12:57:50 +04:00
2013-08-14 14:59:44 +10:00
2013-08-14 14:57:40 +10:00
2013-08-14 14:57:40 +10:00
2013-08-14 14:58:02 +10:00
2013-07-09 10:33:25 -07:00
2013-07-01 11:10:34 +10:00
2013-05-14 14:36:26 +10:00
2013-07-01 11:10:36 +10:00
2013-08-07 18:38:06 -05:00
2013-08-14 14:57:50 +10:00
2013-08-14 14:57:18 +10:00
2013-08-14 14:59:38 +10:00
2013-06-01 08:29:23 +10:00
2013-06-01 08:29:23 +10:00
2013-08-14 14:56:50 +10:00
2013-07-30 15:50:08 -05:00
2013-05-09 13:46:38 -04:00
2013-07-01 11:10:36 +10:00
2013-07-01 11:10:36 +10:00
2013-08-14 14:57:18 +10:00
2013-08-14 14:59:12 +10:00
2013-08-14 14:58:15 +10:00
2013-06-20 16:55:12 +10:00
2013-07-01 11:10:36 +10:00
2013-07-24 14:18:43 +10:00