]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mtrr: fix UP breakage caused during switch to stop_machine
authorTejun Heo <tj@kernel.org>
Thu, 25 Aug 2011 17:46:56 +0000 (19:46 +0200)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 25 Aug 2011 18:02:29 +0000 (11:02 -0700)
commitcbbfa38fcb95930babc5233cf6927ec430f38abc
tree62e904e7f17efcda16f9a8afd15a6a84f06cec0e
parente096d0c7e2e4e5893792db865dd065ac73cf1f00
mtrr: fix UP breakage caused during switch to stop_machine

While removing custom rendezvous code and switching to stop_machine,
commit 192d8857427d ("x86, mtrr: use stop_machine APIs for doing MTRR
rendezvous") completely dropped mtrr setting code on !CONFIG_SMP
breaking MTRR settting on UP.

Fix it by removing the incorrect CONFIG_SMP.

Signed-off-by: Tejun Heo <tj@kernel.org>
Reported-by: Anders Eriksson <aeriksson@fastmail.fm>
Tested-and-acked-by: Suresh Siddha <suresh.b.siddha@intel.com>
Acked-by: H. Peter Anvin <hpa@zytor.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/x86/kernel/cpu/mtrr/main.c