]> git.baikalelectronics.ru Git - kernel.git/commit
sh: Use boot_cpu_data for FPU tests in sigcontext paths.
authorPaul Mundt <lethal@linux-sh.org>
Wed, 14 Oct 2009 05:12:41 +0000 (14:12 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Wed, 14 Oct 2009 06:43:41 +0000 (15:43 +0900)
commit745af48a46ec4d3fd39b529e7b071fdf1d90b9ed
treee1a337ad87d141de01bebafe99c5dab83179701c
parente4a0cf88c0279ae59e89d9dea7a77a3fe8d7bc0c
sh: Use boot_cpu_data for FPU tests in sigcontext paths.

We do not want to use smp_processor_id() from these paths, as they trip
preempt BUGs. Switch the test over to the boot cpu directly.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/kernel/signal_32.c