]> err.no Git - linux-2.6/commitdiff
[PATCH] mark init_amd() as __cpuinit
authorMagnus Damm <magnus@valinux.co.jp>
Tue, 26 Sep 2006 08:52:36 +0000 (10:52 +0200)
committerAndi Kleen <andi@basil.nowhere.org>
Tue, 26 Sep 2006 08:52:36 +0000 (10:52 +0200)
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

index 4be29832e3dcd870452592b1467e2c7a1f095e48..e328e3eb8cbeb86a8f095b220484e1924d35d2b3 100644 (file)
@@ -672,7 +672,7 @@ static void __init amd_detect_cmp(struct cpuinfo_x86 *c)
 #endif
 }
 
-static void __init init_amd(struct cpuinfo_x86 *c)
+static void __cpuinit init_amd(struct cpuinfo_x86 *c)
 {
        unsigned level;