summaryrefslogtreecommitdiffstats
path: root/include/asm-sparc64/cache.h
blob: 3d2198c8994d4afa1c60037115fd6fad5f6f4c95 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/*
 * include/asm-sparc64/cache.h
 */
#ifndef __ARCH_SPARC64_CACHE_H
#define __ARCH_SPARC64_CACHE_H

/* FIXME: Should look at this soon */
/* 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