Skip to content

Commit

Permalink
[PATCH] mark init_amd() as __cpuinit
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Magnus Damm authored and Andi Kleen committed Sep 26, 2006
1 parent 68bbc17 commit ed77504
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/x86_64/kernel/setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit ed77504

Please sign in to comment.