Browse Source

x86-64: add two __cpuinit annotations

Signed-off-by: Jan Beulich <jbeulich@novell.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Jan Beulich 17 years ago
parent
commit
2d9cd6c27f
2 changed files with 2 additions and 2 deletions
  1. 1 1
      arch/x86/kernel/cpu/common.c
  2. 1 1
      arch/x86/kernel/cpu/mcheck/mce_64.c

+ 1 - 1
arch/x86/kernel/cpu/common.c

@@ -845,7 +845,7 @@ struct desc_ptr idt_descr = { 256 * 16 - 1, (unsigned long) idt_table };
 
 char boot_cpu_stack[IRQSTACKSIZE] __page_aligned_bss;
 
-void pda_init(int cpu)
+void __cpuinit pda_init(int cpu)
 {
 	struct x8664_pda *pda = cpu_pda(cpu);
 

+ 1 - 1
arch/x86/kernel/cpu/mcheck/mce_64.c

@@ -860,7 +860,7 @@ error:
 	return err;
 }
 
-static void mce_remove_device(unsigned int cpu)
+static __cpuinit void mce_remove_device(unsigned int cpu)
 {
 	int i;