git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
kprobes: Cleanup fix_riprel() using insn decoder on x86
[pandora-kernel.git]
/
arch
/
x86
/
kernel
/
tce_64.c
diff --git
a/arch/x86/kernel/tce_64.c
b/arch/x86/kernel/tce_64.c
index
e3f2569
..
9e540fe
100644
(file)
--- 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)
{
/* a single tce can't cross a cache line */
if (cpu_has_clflush)
-
asm volatile("clflush (%0)" :: "r" (tceaddr)
);
+
clflush(tceaddr
);
else
else
-
asm volatile("wbinvd":::"memory"
);
+
wbinvd(
);
}
void tce_build(struct iommu_table *tbl, unsigned long index,
}
void tce_build(struct iommu_table *tbl, unsigned long index,