1
0
Fork 0

x86-64: add two __cpuinit annotations

Signed-off-by: Jan Beulich <jbeulich@novell.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
hifive-unleashed-5.1
Jan Beulich 2008-08-29 13:15:04 +01:00 committed by Ingo Molnar
parent e322423471
commit 2d9cd6c27f
2 changed files with 2 additions and 2 deletions

View 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);

View 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;