aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh/kernel/process.c
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2010-04-21 12:20:42 +0900
committerPaul Mundt <lethal@linux-sh.org>2010-04-21 12:20:42 +0900
commit4a6feab0ee5240c4bd5378d9f8a46b85718c68a7 (patch)
tree883f73dbb1e1ed80ae098b794d20ce1d09d1c88b /arch/sh/kernel/process.c
parentsh: Tidy CPU probing and fixup section annotations. (diff)
downloadlinux-dev-4a6feab0ee5240c4bd5378d9f8a46b85718c68a7.tar.xz
linux-dev-4a6feab0ee5240c4bd5378d9f8a46b85718c68a7.zip
sh: __cpuinit annotate the CPU init path.
All of the regular CPU init path needs to be __cpuinit annotated for CPU hotplug. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/kernel/process.c')
-rw-r--r--arch/sh/kernel/process.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sh/kernel/process.c b/arch/sh/kernel/process.c
index 81add9b9ea6e..4d49c8643777 100644
--- a/arch/sh/kernel/process.c
+++ b/arch/sh/kernel/process.c
@@ -89,7 +89,7 @@ void arch_task_cache_init(void)
# define HAVE_SOFTFP 0
#endif
-void init_thread_xstate(void)
+void __cpuinit init_thread_xstate(void)
{
if (boot_cpu_data.flags & CPU_HAS_FPU)
xstate_size = sizeof(struct sh_fpu_hard_struct);