a guest Jun 14th, 2018 63 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- #ifndef _KERN_CPU_NUMBER_H_
- #define _KERN_CPU_NUMBER_H_
- * Definitions for cpu identification in multi-processors.
- int master_cpu; /* 'master' processor - keeps time */
- #if (NCPUS == 1)
- /* 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_ */
RAW Paste Data