Messages in this thread Patch in this message | | | Date | Fri, 29 Aug 2008 13:15:04 +0100 | From | "Jan Beulich" <> | Subject | [PATCH] x86-64: add two __cpuinit annotations |
| |
Signed-off-by: Jan Beulich <jbeulich@novell.com>
--- arch/x86/kernel/cpu/common_64.c | 2 +- arch/x86/kernel/cpu/mcheck/mce_64.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
--- linux-2.6.27-rc5/arch/x86/kernel/cpu/common_64.c 2008-08-29 10:53:00.000000000 +0200 +++ 2.6.27-rc5-x86_64-cpuinit/arch/x86/kernel/cpu/common_64.c 2008-08-22 15:24:33.000000000 +0200 @@ -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); --- linux-2.6.27-rc5/arch/x86/kernel/cpu/mcheck/mce_64.c 2008-08-29 10:53:00.000000000 +0200 +++ 2.6.27-rc5-x86_64-cpuinit/arch/x86/kernel/cpu/mcheck/mce_64.c 2008-08-22 15:24:33.000000000 +0200 @@ -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;
| |