From b65146fc8418b53b7e43dd34cc20000369475671 Mon Sep 17 00:00:00 2001 From: Matt Turner Date: Mon, 31 Aug 2009 16:11:10 -0400 Subject: [PATCH] Remove unused ia64_flush_cache function Signed-off-by: Matt Turner --- hw/xfree86/common/compiler.h | 21 --------------------- 1 file changed, 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 -/* - * 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