diff options
author | Matt Turner <mattst88@gmail.com> | 2009-08-31 16:11:10 -0400 |
---|---|---|
committer | Matt Turner <mattst88@gmail.com> | 2009-08-31 16:11:10 -0400 |
commit | b65146fc8418b53b7e43dd34cc20000369475671 (patch) | |
tree | 8fb71cbcb1d7737f131c6248846cc7ee76fac7cd | |
parent | f201705e29bdc3309dd611b461ec67740cb706ef (diff) |
Remove unused ia64_flush_cache function
Signed-off-by: Matt Turner <mattst88@gmail.com>
-rw-r--r-- | hw/xfree86/common/compiler.h | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/hw/xfree86/common/compiler.h b/hw/xfree86/common/compiler.h index 14f43d450..b2301e7c9 100644 --- a/hw/xfree86/common/compiler.h +++ b/hw/xfree86/common/compiler.h @@ -386,27 +386,6 @@ extern _X_EXPORT unsigned int inl(unsigned int port); # include <sys/io.h> -/* - * This is overkill, but for different reasons depending on where it is used. - * This is thus general enough to be used everywhere cache flushes are needed. - * It doesn't handle memory access serialisation by other processors, though. - */ -# ifndef __INTEL_COMPILER -# define ia64_flush_cache(Addr) \ - __asm__ __volatile__ ( \ - "fc.i %0;;;" \ - "sync.i;;;" \ - "mf;;;" \ - "srlz.i;;;" \ - :: "r"(Addr) : "memory") -# else -# define ia64_flush_cache(Addr) { \ - __fc(Addr);\ - __synci();\ - __mf();\ - __isrlz();\ - } -# endif # undef outb # undef outw # undef outl |