|
|
| File: [Development] / linux-2.6-xfs / include / asm-cris / arch-v32 / cache.h (download)
Revision 1.3, Tue Feb 26 16:44:40 2008 UTC (9 years, 7 months ago) by lachlan.longdrop.melbourne.sgi.com
Merge up to 2.6.25-rc3 Merge of 2.6.x-xfs-melb:linux:30555a by kenmcd. |
#ifndef _ASM_CRIS_ARCH_CACHE_H #define _ASM_CRIS_ARCH_CACHE_H #include <asm/arch/hwregs/dma.h> /* A cache-line is 32 bytes. */ #define L1_CACHE_BYTES 32 #define L1_CACHE_SHIFT 5 void flush_dma_list(dma_descr_data *descr); void flush_dma_descr(dma_descr_data *descr, int flush_buf); #define flush_dma_context(c) \ flush_dma_list(phys_to_virt((c)->saved_data)); void cris_flush_cache_range(void *buf, unsigned long len); void cris_flush_cache(void); #endif /* _ASM_CRIS_ARCH_CACHE_H */