H. Peter Anvin 6619a8fb59 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 <andi@firstfloor.org>
Cc: Glauber de Oliveira Costa <gcosta@redhat.com>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
2007-10-17 20:16:12 +02:00
..
2007-10-17 08:42:52 -07:00
2007-10-16 09:43:09 -07:00
2007-10-17 08:42:49 -07:00
2007-10-16 22:29:58 +02:00
2007-10-16 19:04:49 -07:00
2007-10-16 19:05:30 -07:00
2007-10-17 08:42:52 -07:00
2007-10-17 13:42:11 +02:00
2007-10-17 08:42:52 -07:00
2007-10-16 09:43:10 -07:00
2007-10-14 08:53:33 -07:00
2007-10-17 08:42:57 -07:00
2007-10-17 08:43:07 -07:00
2007-10-16 09:43:09 -07:00
2007-10-16 09:43:09 -07:00