OSDN Git Service

sh: Use boot_cpu_data for CPU probe.
authorPaul Mundt <lethal@linux-sh.org>
Thu, 27 Sep 2007 09:18:39 +0000 (18:18 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Thu, 27 Sep 2007 09:18:39 +0000 (18:18 +0900)
commitcb7af21f7d370edb3a6a6d3e15cb17c8fd61591e
tree9042e4b322593adc3864b28a8c0899d7af7a52da
parentc3af39758ce49b79570ab5ff2f64e0ea5fd82c9b
sh: Use boot_cpu_data for CPU probe.

This moves off of smp_processor_id() and only sets the probe
information for the boot CPU directly. This will be copied out
for the secondaries, so there's no reason to do this each time.

This also allows for some header tidying.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/kernel/cpu/sh2/probe.c
arch/sh/kernel/cpu/sh2a/probe.c
arch/sh/kernel/cpu/sh3/probe.c
arch/sh/kernel/cpu/sh4/probe.c
include/asm-sh/processor.h