From a544139196ac7f5bc89bc642c6c5c0ea1b0bb60e Mon Sep 17 00:00:00 2001 From: Matt Turner Date: Mon, 31 Aug 2009 15:53:19 -0400 Subject: [PATCH] Remove unused ppc_flush_icache function Signed-off-by: Matt Turner --- hw/xfree86/common/compiler.h | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/hw/xfree86/common/compiler.h b/hw/xfree86/common/compiler.h index 3b648df15..d5ce43c48 100644 --- a/hw/xfree86/common/compiler.h +++ b/hw/xfree86/common/compiler.h @@ -1635,17 +1635,6 @@ extern _X_EXPORT void xf86SlowBCopyToBus(unsigned char *, unsigned char *, int); # define MMIO_MOVE32(base, offset, val) \ xf86WriteMmio32Be(base, offset, (CARD32)(val)) -static __inline__ void ppc_flush_icache(char *addr) -{ - __asm__ volatile ( - "dcbf 0,%0;" - "sync;" - "icbi 0,%0;" - "sync;" - "isync;" - : : "r"(addr) : "memory"); -} - # elif defined(__sparc__) || defined(sparc) || defined(__sparc) /* * Like powerpc, we provide byteswapping and no byteswapping functions