]> err.no Git - linux-2.6/commit
x86_64: Don't call mtrr_bp_init from identify_cpu
authorAndi Kleen <ak@suse.de>
Fri, 11 May 2007 09:23:20 +0000 (11:23 +0200)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Fri, 11 May 2007 19:53:00 +0000 (12:53 -0700)
commit8bd994815987dda0947bd9afd887b1410713d4f7
treeb453238c4f2a14b557db0568e6ada733e5310ecd
parent547c5355d1b1167af39e315c82aa9ff1398596f4
x86_64: Don't call mtrr_bp_init from identify_cpu

The code was ok, but triggered warnings for calling __init from
__cpuinit. Instead call it from check_bugs instead.

Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/x86_64/kernel/bugs.c
arch/x86_64/kernel/setup.c