summaryrefslogtreecommitdiffstats
path: root/include/asm-ppc/cache.h
blob: da609f27153c517a4d0da55dc49485d087690796 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/*
 * include/asm-ppc/cache.h
 */
#ifndef __ARCH_PPC_CACHE_H
#define __ARCH_PPC_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