summaryrefslogtreecommitdiffstats
path: root/include/asm-mips/cache.h
blob: 83211ad986d3fc2642e40347e6754e46693866bc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/*
 * include/asm-mips/cache.h
 */
#ifndef __ASM_MIPS_CACHE_H
#define __ASM_MIPS_CACHE_H

/* bytes per L1 cache line */
#define        L1_CACHE_BYTES  32      /* a guess */

#define        L1_CACHE_ALIGN(x)       (((x)+(L1_CACHE_BYTES-1))&~(L1_CACHE_BYTES-1))

#endif /* __ASM_MIPS_CACHE_H */