Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2d9cd6c2 authored by Jan Beulich's avatar Jan Beulich Committed by Ingo Molnar
Browse files

x86-64: add two __cpuinit annotations



Signed-off-by: default avatarJan Beulich <jbeulich@novell.com>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent e3224234
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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
Original line number Diff line number Diff line
@@ -860,7 +860,7 @@ static __cpuinit int mce_create_device(unsigned int cpu)
	return err;
}

static void mce_remove_device(unsigned int cpu)
static __cpuinit void mce_remove_device(unsigned int cpu)
{
	int i;