--- Gnu-Mach/kern/cpu_number.h 2020/09/02 04:36:57 1.1.1.1 +++ Gnu-Mach/kern/cpu_number.h 2020/09/02 04:51:58 1.1.1.3 @@ -27,8 +27,6 @@ #ifndef _KERN_CPU_NUMBER_H_ #define _KERN_CPU_NUMBER_H_ -#include - /* * Definitions for cpu identification in multi-processors. */ @@ -39,5 +37,7 @@ int master_cpu; /* 'master' processor - /* cpu number is always 0 on a single processor system */ #define cpu_number() (0) +#define CPU_L1_SIZE (1 << CPU_L1_SHIFT) + #endif /* NCPUS == 1 */ #endif /* _KERN_CPU_NUMBER_H_ */