summaryrefslogtreecommitdiff
path: root/hw/xfree86/common/compiler.h
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gmail.com>2009-08-31 15:53:41 -0400
committerMatt Turner <mattst88@gmail.com>2009-08-31 15:53:41 -0400
commit628b863bcc6a2a14fd3c0e6c2be4394833cc314c (patch)
tree9e186801ac915f42a8f16618acf0f2a7481471e6 /hw/xfree86/common/compiler.h
parenta544139196ac7f5bc89bc642c6c5c0ea1b0bb60e (diff)
Remove unused arm_flush_cache function
Signed-off-by: Matt Turner <mattst88@gmail.com>
Diffstat (limited to 'hw/xfree86/common/compiler.h')
-rw-r--r--hw/xfree86/common/compiler.h10
1 files changed, 0 insertions, 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)))