X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=arch%2Fx86%2Fkernel%2Ftce_64.c;h=9e540fee70096f692a5179dc3ea9d21d687a14cf;hb=4e78c91abe1a40b905611100a593be62784ba355;hp=e3f2569b2c44140a14d19fc7ab5e0fae0b8047c5;hpb=19f71153b9be219756c6b2757921433a69b7975c;p=deliverable%2Flinux.git diff --git a/arch/x86/kernel/tce_64.c b/arch/x86/kernel/tce_64.c index e3f2569b2c44..9e540fee7009 100644 --- a/arch/x86/kernel/tce_64.c +++ b/arch/x86/kernel/tce_64.c @@ -40,9 +40,9 @@ static inline void flush_tce(void* tceaddr) { /* a single tce can't cross a cache line */ if (cpu_has_clflush) - asm volatile("clflush (%0)" :: "r" (tceaddr)); + clflush(tceaddr); else - asm volatile("wbinvd":::"memory"); + wbinvd(); } void tce_build(struct iommu_table *tbl, unsigned long index,