SHARE
TWEET

Untitled

a guest Jun 14th, 2018 60 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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_ */
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top