OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
68bbc17
)
[PATCH] mark init_amd() as __cpuinit
author
Magnus Damm
<magnus@valinux.co.jp>
Tue, 26 Sep 2006 08:52:36 +0000
(10:52 +0200)
committer
Andi 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
patch
|
blob
|
history
diff --git
a/arch/x86_64/kernel/setup.c
b/arch/x86_64/kernel/setup.c
index
4be2983
..
e328e3e
100644
(file)
--- 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 __
cpu
init init_amd(struct cpuinfo_x86 *c)
{
unsigned level;