2005-04-17 00:20:36 +02:00
|
|
|
/*
|
|
|
|
* linux/include/asm-arm26/cache.h
|
|
|
|
*/
|
|
|
|
#ifndef __ASMARM_CACHE_H
|
|
|
|
#define __ASMARM_CACHE_H
|
|
|
|
|
2006-01-17 07:13:56 +01:00
|
|
|
#define L1_CACHE_SHIFT 5
|
|
|
|
#define L1_CACHE_BYTES (1 << L1_CACHE_SHIFT)
|
2005-04-17 00:20:36 +02:00
|
|
|
#define L1_CACHE_ALIGN(x) (((x)+(L1_CACHE_BYTES-1))&~(L1_CACHE_BYTES-1))
|
|
|
|
#define SMP_CACHE_BYTES L1_CACHE_BYTES
|
|
|
|
|
|
|
|
#endif
|