aboutsummaryrefslogtreecommitdiff
path: root/arch/x86/lib/cache-smp.c
AgeCommit message (Collapse)AuthorFilesLines
2010-01-22x86, lib: Add wbinvd smp helpersBorislav Petkov1-0/+19
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 <[email protected]> LKML-Reference: <[email protected]> Signed-off-by: H. Peter Anvin <[email protected]>