commit | 4c738480d21a190e3d99c7ce985ab9484f373a3c | [log] [tgz] |
---|---|---|
author | Andrew Morton <akpm@linux-foundation.org> | Sun Jun 03 13:50:40 2007 -0700 |
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | Mon Jun 04 13:25:09 2007 -0700 |
tree | 9a9fefe07e4d56d59777e27b4ee71dae221337c1 | |
parent | e44a45ae7b7f7c7a4ebd6aa39b703bf2b97fe848 [diff] |
mtrr atomicity fix Rafael gets this on an SMP box with kernel preemption enabled, during hibernation and restore (100% of the time): Enabling non-boot CPUs ... BUG: using smp_processor_id() in preemptible [00000001] code: bash/4514 caller is mtrr_save_state+0x9/0x40 Cc: "Rafael J. Wysocki" <rjw@sisk.pl> Cc: Andi Kleen <ak@suse.de> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>