projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.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
|
blame
|
history
diff --git
a/arch/x86_64/kernel/setup.c
b/arch/x86_64/kernel/setup.c
index 4be29832e3dcd870452592b1467e2c7a1f095e48..e328e3eb8cbeb86a8f095b220484e1924d35d2b3 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;