https://github.com/torvalds/linux
Raw File
Tip revision: 31880c37c11e28cb81c70757e38392b42e695dc6 authored by Linus Torvalds on 08 April 2013, 03:49:54 UTC
Linux 3.9-rc6
Tip revision: 31880c3
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