Linux 2.6.25
[linux-2.6/s3c2410-cpufreq.git] / include / asm-cris / arch-v32 / cache.h
blobb3d752dfe15b438e6f081a47435c8088fbb9ea47
1 #ifndef _ASM_CRIS_ARCH_CACHE_H
2 #define _ASM_CRIS_ARCH_CACHE_H
4 #include <asm/arch/hwregs/dma.h>
6 /* A cache-line is 32 bytes. */
7 #define L1_CACHE_BYTES 32
8 #define L1_CACHE_SHIFT 5
10 void flush_dma_list(dma_descr_data *descr);
11 void flush_dma_descr(dma_descr_data *descr, int flush_buf);
13 #define flush_dma_context(c) \
14 flush_dma_list(phys_to_virt((c)->saved_data));
16 void cris_flush_cache_range(void *buf, unsigned long len);
17 void cris_flush_cache(void);
19 #endif /* _ASM_CRIS_ARCH_CACHE_H */