summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMagnus Damm <magnus@valinux.co.jp>2006-09-26 10:52:36 +0200
committerAndi Kleen <andi@basil.nowhere.org>2006-09-26 10:52:36 +0200
commited77504b2007ff7ce56841227467ac3ead52df62 (patch)
treec61112afa435603b92b860b3dfb0cd01c48d2df1
parent68bbc172cd1b0ee01814304b8a7bef8922d5fdca (diff)
downloadop-kernel-dev-ed77504b2007ff7ce56841227467ac3ead52df62.zip
op-kernel-dev-ed77504b2007ff7ce56841227467ac3ead52df62.tar.gz
[PATCH] mark init_amd() as __cpuinit
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>
-rw-r--r--arch/x86_64/kernel/setup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86_64/kernel/setup.c b/arch/x86_64/kernel/setup.c
index 4be2983..e328e3e 100644
--- a/arch/x86_64/kernel/setup.c
+++ b/arch/x86_64/kernel/setup.c
@@ -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;
OpenPOWER on IntegriCloud