]> bbs.cooldavid.org Git - net-next-2.6.git/commitdiff
x86-64: add two __cpuinit annotations
authorJan Beulich <jbeulich@novell.com>
Fri, 29 Aug 2008 12:15:04 +0000 (13:15 +0100)
committerIngo Molnar <mingo@elte.hu>
Sat, 6 Sep 2008 17:50:41 +0000 (19:50 +0200)
Signed-off-by: Jan Beulich <jbeulich@novell.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/cpu/common.c
arch/x86/kernel/cpu/mcheck/mce_64.c

index e8045c4ef1c14d0c6fca269a6ce247720fbdf44d..5cde4b18448c076df3966bed6dc3f1efa61f515c 100644 (file)
@@ -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);
 
index 726a5fcdf34113efe492ecdaa324308aa1a61fbd..4b031a4ac8562d3ed69f14f0d750dfe8519a057e 100644 (file)
@@ -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;