From: H. Peter Anvin Date: Thu, 19 Dec 2013 19:58:16 +0000 (-0800) Subject: x86, idle: Use static_cpu_has() for CLFLUSH workaround, add barriers X-Git-Tag: v3.14-rc1~170^2~14^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7e98b71920464b8d15fa95c74366416cd3c88861;p=pandora-kernel.git x86, idle: Use static_cpu_has() for CLFLUSH workaround, add barriers Use static_cpu_has() to conditionalize the CLFLUSH workaround, and add memory barriers around it since the documentation is explicit that CLFLUSH is only ordered with respect to MFENCE. Signed-off-by: H. Peter Anvin Cc: Linus Torvalds Cc: Peter Zijlstra Cc: Len Brown Link: http://lkml.kernel.org/r/CA%2B55aFzGxcML7j8CEvQPYzh0W81uVoAAVmGctMOUZ7CZ1yYd2A@mail.gmail.com --- Reading git-diff-tree failed