[PATCH for review] [139/145] x86_64: mark init_amd() as __cpuinit

Andi Kleen
2006-08-10T19:41:33Z

r

From: Magnus Damm <magnus@valinux.co.jp>

The init_amd() function is only called from identify_cpu() which is already
marked as __cpuinit. So let's mark it as __cpuinit.

Signed-off-by: Magnus Damm <magnus@valinux.co.jp>
Signed-off-by: Andi Kleen <ak@suse.de>

---

arch/x86_64/kernel/setup.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)

Index: linux/arch/x86_64/kernel/setup.c
===================================================================
--- linux.orig/arch/x86_64/kernel/setup.c
+++ linux/arch/x86_64/kernel/setup.c
@@ -674,7 +674,7 @@ static void __init amd_detect_cmp(struct
#endif
}

-static void __init init_amd(struct cpuinfo_x86 *c)
+static void __cpuinit init_amd(struct cpuinfo_x86 *c)
{
unsigned level;