summaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@novell.com>2008-08-29 13:15:04 +0100
committerIngo Molnar <mingo@elte.hu>2008-09-06 19:50:41 +0200
commit2d9cd6c27f00958a31622b8e9909d5e35f069b28 (patch)
tree6ff04d7eeec2ac5a2e45320684dfc203d5da5f92 /arch/x86/kernel
parente3224234717b4228c235cee401af89212f17a3a4 (diff)
downloadlinux-2d9cd6c27f00958a31622b8e9909d5e35f069b28.tar.gz
linux-2d9cd6c27f00958a31622b8e9909d5e35f069b28.tar.bz2
linux-2d9cd6c27f00958a31622b8e9909d5e35f069b28.zip
x86-64: add two __cpuinit annotations
Signed-off-by: Jan Beulich <jbeulich@novell.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/kernel')
-rw-r--r--arch/x86/kernel/cpu/common.c2
-rw-r--r--arch/x86/kernel/cpu/mcheck/mce_64.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/kernel/cpu/common.c b/arch/x86/kernel/cpu/common.c
index e8045c4ef1c1..5cde4b18448c 100644
--- a/arch/x86/kernel/cpu/common.c
+++ b/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);
diff --git a/arch/x86/kernel/cpu/mcheck/mce_64.c b/arch/x86/kernel/cpu/mcheck/mce_64.c
index 726a5fcdf341..4b031a4ac856 100644
--- a/arch/x86/kernel/cpu/mcheck/mce_64.c
+++ b/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;