https://github.com/torvalds/linux
Raw File
Tip revision: e4aa937ec75df0eea0bee03bffa3303ad36c986b authored by Linus Torvalds on 26 May 2013, 23:00:47 UTC
Linux 3.10-rc3
Tip revision: e4aa937
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