https://github.com/torvalds/linux
Raw File
Tip revision: 8f0d8163b50e01f398b14bcd4dc039ac5ab18d64 authored by Linus Torvalds on 28 October 2012, 19:24:48 UTC
Linux 3.7-rc3
Tip revision: 8f0d816
cache.h
#ifndef __ASM_GENERIC_CACHE_H
#define __ASM_GENERIC_CACHE_H
/*
 * 32 bytes appears to be the most common cache line size,
 * so make that the default here. Architectures with larger
 * cache lines need to provide their own cache.h.
 */

#define L1_CACHE_SHIFT		5
#define L1_CACHE_BYTES		(1 << L1_CACHE_SHIFT)

#endif /* __ASM_GENERIC_CACHE_H */
back to top