From: Andrew Morton Date: Sun, 3 Jun 2007 20:50:40 +0000 (-0700) Subject: mtrr atomicity fix X-Git-Tag: v2.6.22-rc4~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4c738480d21a190e3d99c7ce985ab9484f373a3c;p=pandora-kernel.git 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" Cc: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed