1 2 3 4 5 6 7 8 9 10
#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