diff options
author | Al Viro <viro@ftp.linux.org.uk> | 2007-07-26 12:34:19 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-07-26 14:11:57 -0400 |
commit | ed5f6561436a1a0b38f4130bdb1fed00f14e60b5 (patch) | |
tree | 887df01cec9f2907029a12f46788691231eac9c4 /arch/alpha/kernel/smp.c | |
parent | 55fe977187405edaaa9b2519b561e97ff1d2eeee (diff) |
deal with alpha section warnings
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/alpha/kernel/smp.c')
-rw-r--r-- | arch/alpha/kernel/smp.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/alpha/kernel/smp.c b/arch/alpha/kernel/smp.c index b28731437c31..0804b6abe203 100644 --- a/arch/alpha/kernel/smp.c +++ b/arch/alpha/kernel/smp.c | |||
@@ -358,7 +358,7 @@ secondary_cpu_start(int cpuid, struct task_struct *idle) | |||
358 | /* | 358 | /* |
359 | * Bring one cpu online. | 359 | * Bring one cpu online. |
360 | */ | 360 | */ |
361 | static int __devinit | 361 | static int __cpuinit |
362 | smp_boot_one_cpu(int cpuid) | 362 | smp_boot_one_cpu(int cpuid) |
363 | { | 363 | { |
364 | struct task_struct *idle; | 364 | struct task_struct *idle; |
@@ -487,7 +487,7 @@ smp_prepare_boot_cpu(void) | |||
487 | { | 487 | { |
488 | } | 488 | } |
489 | 489 | ||
490 | int __devinit | 490 | int __cpuinit |
491 | __cpu_up(unsigned int cpu) | 491 | __cpu_up(unsigned int cpu) |
492 | { | 492 | { |
493 | smp_boot_one_cpu(cpu); | 493 | smp_boot_one_cpu(cpu); |
@@ -541,7 +541,7 @@ smp_percpu_timer_interrupt(struct pt_regs *regs) | |||
541 | set_irq_regs(old_regs); | 541 | set_irq_regs(old_regs); |
542 | } | 542 | } |
543 | 543 | ||
544 | int __init | 544 | int |
545 | setup_profiling_timer(unsigned int multiplier) | 545 | setup_profiling_timer(unsigned int multiplier) |
546 | { | 546 | { |
547 | return -EINVAL; | 547 | return -EINVAL; |