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)
commiteaa47704d950d7f85b41a314a00529fb2615c10e
treee1a337ad87d141de01bebafe99c5dab83179701c
parent99222622422ac3398a846645f190109e218c743c
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