Advertisement
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_ */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement