[PATCH] x86-64: add two __cpuinit annotations

From: Jan Beulich
Date: Fri Aug 29 2008 - 08:13:59 EST


Signed-off-by: Jan Beulich <jbeulich@xxxxxxxxxx>

---
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;




--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/