x86-64: add two __cpuinit annotations
PATCH 1/1 x86-64: add two __cpuinit annotations
Signed-off-by Jan Beulich <[email protected]>
--- 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;
Quoted 6 lines · Jan Beulich
Signed-off-by Jan Beulich <[email protected]>--- 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