Skip to contentSkip to conversation

x86-64: add two __cpuinit annotations

PATCH In review Jan Beulich 2 participants 2 messages Aug 29, 2008 – Sep 6, 2008 x86

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 x86-64: add two __cpuinit annotations

---
 arch/x86/kernel/cpu/common_64.c     |    2 +-
 arch/x86/kernel/cpu/mcheck/mce_64.c |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
arch/x86/kernel/cpu/common_64.c +1 -1
@@ -470,7 +470,7 @@ static int __init nonx32_setup(char *str
 }
 __setup("noexec32=", nonx32_setup);
 
-void pda_init(int cpu)
+void __cpuinit pda_init(int cpu)
 {
 	struct x8664_pda *pda = cpu_pda(cpu);
 
arch/x86/kernel/cpu/mcheck/mce_64.c +1 -1
@@ -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;
 
#1 lore raw
Quoted 6 lines · Jan Beulich
---
 arch/x86/kernel/cpu/common_64.c     |    2 +-
 arch/x86/kernel/cpu/mcheck/mce_64.c |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

merged up to and applied to tip/x86/unify-cpu-detect. Thanks,

Ingo