diff options
Diffstat (limited to 'arch/sh/kernel/cpu/sh4a/smp-shx3.c')
| -rw-r--r-- | arch/sh/kernel/cpu/sh4a/smp-shx3.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/sh/kernel/cpu/sh4a/smp-shx3.c b/arch/sh/kernel/cpu/sh4a/smp-shx3.c index 03f2b55757cf..4a298808789c 100644 --- a/arch/sh/kernel/cpu/sh4a/smp-shx3.c +++ b/arch/sh/kernel/cpu/sh4a/smp-shx3.c | |||
| @@ -124,7 +124,7 @@ static void shx3_update_boot_vector(unsigned int cpu) | |||
| 124 | __raw_writel(STBCR_RESET, STBCR_REG(cpu)); | 124 | __raw_writel(STBCR_RESET, STBCR_REG(cpu)); |
| 125 | } | 125 | } |
| 126 | 126 | ||
| 127 | static int __cpuinit | 127 | static int |
| 128 | shx3_cpu_callback(struct notifier_block *nfb, unsigned long action, void *hcpu) | 128 | shx3_cpu_callback(struct notifier_block *nfb, unsigned long action, void *hcpu) |
| 129 | { | 129 | { |
| 130 | unsigned int cpu = (unsigned int)hcpu; | 130 | unsigned int cpu = (unsigned int)hcpu; |
| @@ -143,11 +143,11 @@ shx3_cpu_callback(struct notifier_block *nfb, unsigned long action, void *hcpu) | |||
| 143 | return NOTIFY_OK; | 143 | return NOTIFY_OK; |
| 144 | } | 144 | } |
| 145 | 145 | ||
| 146 | static struct notifier_block __cpuinitdata shx3_cpu_notifier = { | 146 | static struct notifier_block shx3_cpu_notifier = { |
| 147 | .notifier_call = shx3_cpu_callback, | 147 | .notifier_call = shx3_cpu_callback, |
| 148 | }; | 148 | }; |
| 149 | 149 | ||
| 150 | static int __cpuinit register_shx3_cpu_notifier(void) | 150 | static int register_shx3_cpu_notifier(void) |
| 151 | { | 151 | { |
| 152 | register_hotcpu_notifier(&shx3_cpu_notifier); | 152 | register_hotcpu_notifier(&shx3_cpu_notifier); |
| 153 | return 0; | 153 | return 0; |
