mirror of https://gitee.com/openkylin/linux.git
11 lines
221 B
C
11 lines
221 B
C
|
#ifndef __UM_CACHE_H
|
||
|
#define __UM_CACHE_H
|
||
|
|
||
|
/* These are x86 numbers */
|
||
|
#define L1_CACHE_SHIFT 5
|
||
|
#define L1_CACHE_BYTES (1 << L1_CACHE_SHIFT)
|
||
|
|
||
|
#define L1_CACHE_SHIFT_MAX 7 /* largest L1 which this arch supports */
|
||
|
|
||
|
#endif
|