ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-2.6.6.tar.bz2
[linux-2.6.git] / include / asm-ppc64 / cache.h
1 /*
2  * This program is free software; you can redistribute it and/or
3  * modify it under the terms of the GNU General Public License
4  * as published by the Free Software Foundation; either version
5  * 2 of the License, or (at your option) any later version.
6  */
7 #ifndef __ARCH_PPC64_CACHE_H
8 #define __ARCH_PPC64_CACHE_H
9
10 /* bytes per L1 cache line */
11 #define L1_CACHE_SHIFT  7
12 #define L1_CACHE_BYTES  (1 << L1_CACHE_SHIFT)
13
14 #define SMP_CACHE_BYTES L1_CACHE_BYTES
15 #define L1_CACHE_SHIFT_MAX 7    /* largest L1 which this arch supports */
16
17 #endif