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

From: H. Peter Anvin
Date: Sat Jul 21 2007 - 16:19:19 EST


Muli Ben-Yehuda wrote:
>
> So it looks like we have a purely syntactic patch that does something
> different than the original code in one of the above places. What am I
> missing?
>

+static inline void clflush(volatile void *__p)
+{
+ asm volatile("clflush %0" : "+m" (*(char __force *)__p));
^
+}

-
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/