From 628b863bcc6a2a14fd3c0e6c2be4394833cc314c Mon Sep 17 00:00:00 2001 From: Matt Turner Date: Mon, 31 Aug 2009 15:53:41 -0400 Subject: [PATCH] Remove unused arm_flush_cache function Signed-off-by: Matt Turner --- hw/xfree86/common/compiler.h | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/hw/xfree86/common/compiler.h b/hw/xfree86/common/compiler.h index d5ce43c48..b94e2b251 100644 --- a/hw/xfree86/common/compiler.h +++ b/hw/xfree86/common/compiler.h @@ -1333,16 +1333,6 @@ xf_outl(unsigned short port, unsigned int val) #define outw xf_outw #define outl xf_outl -#define arm_flush_cache(addr) \ -do { \ - register unsigned long _beg __asm ("a1") = (unsigned long) (addr); \ - register unsigned long _end __asm ("a2") = (unsigned long) (addr) + 4;\ - register unsigned long _flg __asm ("a3") = 0; \ - __asm __volatile ("swi 0x9f0002 @ sys_cacheflush" \ - : "=r" (_beg) \ - : "0" (_beg), "r" (_end), "r" (_flg)); \ -} while (0) - # else /* ix86 */ # define ldq_u(p) (*((unsigned long *)(p)))