浏览代码

[IA64] start_secondary() and smp_callin() should be __cpuinit

Continuing the seemingly neverending quest to stomp out "Section
mismatch" warnings.

Signed-off-by: Tony Luck <tony.luck@intel.com>
Tony Luck 18 年之前
父节点
当前提交
d86ebd1409
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      arch/ia64/kernel/smpboot.c

+ 2 - 2
arch/ia64/kernel/smpboot.c

@@ -370,7 +370,7 @@ smp_setup_percpu_timer (void)
 {
 {
 }
 }
 
 
-static void __devinit
+static void __cpuinit
 smp_callin (void)
 smp_callin (void)
 {
 {
 	int cpuid, phys_id, itc_master;
 	int cpuid, phys_id, itc_master;
@@ -456,7 +456,7 @@ smp_callin (void)
 /*
 /*
  * Activate a secondary processor.  head.S calls this.
  * Activate a secondary processor.  head.S calls this.
  */
  */
-int __devinit
+int __cpuinit
 start_secondary (void *unused)
 start_secondary (void *unused)
 {
 {
 	/* Early console may use I/O ports */
 	/* Early console may use I/O ports */