From: H. Peter Anvin Date: Wed, 17 Oct 2007 16:04:37 +0000 (+0200) Subject: x86: Create clflush() inline, remove hardcoded wbinvd X-Git-Tag: v2.6.24-rc1~476^2~68 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6619a8fb594486363783cc4a8372e4d4ee4b913e;p=pandora-kernel.git x86: Create clflush() inline, remove hardcoded wbinvd Create an inline function for clflush(), with the proper arguments, and use it instead of hard-coding the instruction. This also removes one instance of hard-coded wbinvd, based on a patch by Bauder de Oliveira Costa. [ tglx: arch/x86 adaptation ] Cc: Andi Kleen Cc: Glauber de Oliveira Costa Signed-off-by: H. Peter Anvin Signed-off-by: Andi Kleen Signed-off-by: Ingo Molnar Signed-off-by: Thomas Gleixner --- Reading git-diff-tree failed