Advertisement
Guest User

Untitled

a guest
Jun 14th, 2018
127
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.41 KB | None | 0 0
  1. #ifndef _KERN_CPU_NUMBER_H_
  2. #define _KERN_CPU_NUMBER_H_
  3.  
  4. /*
  5.  *      Definitions for cpu identification in multi-processors.
  6.  */
  7.  
  8. int     master_cpu;     /* 'master' processor - keeps time */
  9.  
  10. #if     (NCPUS == 1)
  11.         /* cpu number is always 0 on a single processor system */
  12. #define cpu_number()    (0)
  13.  
  14. #define CPU_L1_SIZE (1 << CPU_L1_SHIFT)
  15.  
  16. #endif  /* NCPUS == 1 */
  17. #endif /* _KERN_CPU_NUMBER_H_ */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement