diff options
Diffstat (limited to 'arch/x86/kernel')
-rw-r--r-- | arch/x86/kernel/tce_64.c | 4 |
1 files changed, 2 insertions, 2 deletions
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) | |||
40 | { | 40 | { |
41 | /* a single tce can't cross a cache line */ | 41 | /* a single tce can't cross a cache line */ |
42 | if (cpu_has_clflush) | 42 | if (cpu_has_clflush) |
43 | asm volatile("clflush (%0)" :: "r" (tceaddr)); | 43 | clflush(tceaddr); |
44 | else | 44 | else |
45 | asm volatile("wbinvd":::"memory"); | 45 | wbinvd(); |
46 | } | 46 | } |
47 | 47 | ||
48 | void tce_build(struct iommu_table *tbl, unsigned long index, | 48 | void tce_build(struct iommu_table *tbl, unsigned long index, |