Re: [PATCH] x86: Create clflush() inline, remove hardcoded wbinvd

From: Glauber de Oliveira Costa
Date: Fri Jul 20 2007 - 19:36:46 EST


On Fri, 2007-07-20 at 14:19 -0700, H. Peter Anvin wrote:
> 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.
Hey, Who's that guy that got a name so close to mine? ;-)

>
> Cc: Andi Kleen <andi@xxxxxxxxxxxxxx>
> Cc: Glauber de Oliveira Costa <gcosta@xxxxxxxxxx>
> Signed-off-by: H. Peter Anvin <hpa@xxxxxxxxx>


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/