summaryrefslogtreecommitdiff
path: root/arch/sh/kernel/process.c
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2010-04-21 03:20:42 (GMT)
committerPaul Mundt <lethal@linux-sh.org>2010-04-21 03:20:42 (GMT)
commit4a6feab0ee5240c4bd5378d9f8a46b85718c68a7 (patch)
tree883f73dbb1e1ed80ae098b794d20ce1d09d1c88b /arch/sh/kernel/process.c
parenta9079ca0cb15feda15e7a380092e02d5cd834148 (diff)
downloadlinux-fsl-qoriq-4a6feab0ee5240c4bd5378d9f8a46b85718c68a7.tar.xz
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 81add9b..4d49c86 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);