Browse Source

[IA64] Yet another section mismatch warning

reference to .init.data: from .text between 'sn_cpu_init' (at offset 0x1411) and 'nasid_slice_to_cpuid'
reference to .init.data: from .text between 'sn_cpu_init' (at offset 0x1420) and 'nasid_slice_to_cpuid'

The offending .init.data object is shub_1_1_found which should be declared
in __cpuinitdata, not in __initdata

Signed-off-by: Tony Luck <tony.luck@intel.com>
Tony Luck 18 years ago
parent
commit
a8c8be08e0
1 changed files with 1 additions and 1 deletions
  1. 1 1
      arch/ia64/sn/kernel/setup.c

+ 1 - 1
arch/ia64/sn/kernel/setup.c

@@ -194,7 +194,7 @@ void __init early_sn_setup(void)
 }
 }
 
 
 extern int platform_intr_list[];
 extern int platform_intr_list[];
-static int __initdata shub_1_1_found;
+static int __cpuinitdata shub_1_1_found;
 
 
 /*
 /*
  * sn_check_for_wars
  * sn_check_for_wars