]> git.karo-electronics.de Git - karo-tx-linux.git/commit
[PATCH] MTRR suspend/resume cleanup
authorShaohua Li <shaohua.li@intel.com>
Fri, 8 Jul 2005 00:56:38 +0000 (17:56 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 8 Jul 2005 01:23:42 +0000 (18:23 -0700)
commit3b520b238e018ef0e9d11c9115d5e7d9419c4ef9
tree8b9bf3ccf2dd13dbbbcb4a3ff5028a351817b657
parent01d299367fe868851a632cfbdb606845f57682aa
[PATCH] MTRR suspend/resume cleanup

There has been some discuss about solving the SMP MTRR suspend/resume
breakage, but I didn't find a patch for it.  This is an intent for it.  The
basic idea is moving mtrr initializing into cpu_identify for all APs (so it
works for cpu hotplug).  For BP, restore_processor_state is responsible for
restoring MTRR.

Signed-off-by: Shaohua Li <shaohua.li@intel.com>
Acked-by: Andi Kleen <ak@muc.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/i386/kernel/cpu/common.c
arch/i386/kernel/cpu/mtrr/generic.c
arch/i386/kernel/cpu/mtrr/main.c
arch/i386/kernel/cpu/mtrr/mtrr.h
arch/i386/power/cpu.c
arch/x86_64/kernel/setup.c
arch/x86_64/kernel/suspend.c
include/asm-i386/processor.h
include/asm-x86_64/proto.h