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 [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- Follow-Ups:
- Re: [PATCH] x86: Create clflush() inline, remove hardcoded wbinvd
- From: Muli Ben-Yehuda <[email protected]>
- Re: [PATCH] x86: Create clflush() inline, remove hardcoded wbinvd
- References:
- [PATCH] Use wbinvd() macro instead of raw inline assembly in .c files
- From: Glauber de Oliveira Costa <[email protected]>
- [PATCH] x86: Create clflush() inline, remove hardcoded wbinvd
- From: "H. Peter Anvin" <[email protected]>
- Re: [PATCH] x86: Create clflush() inline, remove hardcoded wbinvd
- From: Muli Ben-Yehuda <[email protected]>
- Re: [PATCH] x86: Create clflush() inline, remove hardcoded wbinvd
- From: "H. Peter Anvin" <[email protected]>
- Re: [PATCH] x86: Create clflush() inline, remove hardcoded wbinvd
- From: Muli Ben-Yehuda <[email protected]>
- [PATCH] Use wbinvd() macro instead of raw inline assembly in .c files
- Prev by Date: Re: [PATCH] x86: Create clflush() inline, remove hardcoded wbinvd
- Next by Date: Re: [kbuild-devel] [PATCH 25/33] kbuild: use POSIX BRE in headers install target
- Previous by thread: Re: [PATCH] x86: Create clflush() inline, remove hardcoded wbinvd
- Next by thread: Re: [PATCH] x86: Create clflush() inline, remove hardcoded wbinvd
- Index(es):