diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2009-06-14 20:36:54 -0400 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2009-06-14 20:36:54 -0400 |
commit | 7dafd239ab522d38979ebe44d79aa68ad7b1a383 (patch) | |
tree | 04754a0c6495e57c1fe5f417fbfc99272d353c0e /include/asm-generic/cache.h | |
parent | bc47ab0241c7c86da4f5e5f82fbca7d45387c18d (diff) | |
parent | 45e3e1935e2857c54783291107d33323b3ef33c8 (diff) |
Merge commit 'origin/master' into next
Diffstat (limited to 'include/asm-generic/cache.h')
-rw-r--r-- | include/asm-generic/cache.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/include/asm-generic/cache.h b/include/asm-generic/cache.h new file mode 100644 index 000000000000..1bfcfe5c2237 --- /dev/null +++ b/include/asm-generic/cache.h | |||
@@ -0,0 +1,12 @@ | |||
1 | #ifndef __ASM_GENERIC_CACHE_H | ||
2 | #define __ASM_GENERIC_CACHE_H | ||
3 | /* | ||
4 | * 32 bytes appears to be the most common cache line size, | ||
5 | * so make that the default here. Architectures with larger | ||
6 | * cache lines need to provide their own cache.h. | ||
7 | */ | ||
8 | |||
9 | #define L1_CACHE_SHIFT 5 | ||
10 | #define L1_CACHE_BYTES (1 << L1_CACHE_SHIFT) | ||
11 | |||
12 | #endif /* __ASM_GENERIC_CACHE_H */ | ||