lkml.org 
[lkml]   [2008]   [Aug]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
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;





\
 
 \ /
  Last update: 2008-08-29 14:17    [W:0.029 / U:0.400 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site