From: Borislav Petkov Date: Fri, 22 Jan 2010 15:01:03 +0000 (+0100) Subject: x86, lib: Add wbinvd smp helpers X-Git-Tag: v2.6.34-rc1~257^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a7b480e7f30b3813353ec009f10f2ac7a6669f3b;p=pandora-kernel.git x86, lib: Add wbinvd smp helpers Add wbinvd_on_cpu and wbinvd_on_all_cpus stubs for executing wbinvd on a particular CPU. [ hpa: renamed lib/smp.c to lib/cache-smp.c ] [ hpa: wbinvd_on_all_cpus() returns int, but wbinvd() returns void. Thus, the former cannot be a macro for the latter, replace with an inline function. ] Signed-off-by: Borislav Petkov LKML-Reference: <1264172467-25155-2-git-send-email-bp@amd64.org> Signed-off-by: H. Peter Anvin --- Reading git-diff-tree failed