]> git.saurik.com Git - apple/xnu.git/blobdiff - osfmk/kern/cpu_number.h
xnu-792.10.96.tar.gz
[apple/xnu.git] / osfmk / kern / cpu_number.h
index afcc656f75fc585e8fb918a4a1d96fe17aadad33..7c8fbdb87770b4d141b9da600a2a0c13c2a20c92 100644 (file)
  * any improvements or extensions that they make and grant Carnegie Mellon
  * the rights to redistribute these changes.
  */
-/*
- */
+
+#ifdef XNU_KERNEL_PRIVATE
 
 #ifndef        _KERN_CPU_NUMBER_H_
 #define        _KERN_CPU_NUMBER_H_
 
-#include <machine/cpu_number.h>
+#ifdef MACH_KERNEL_PRIVATE
 
-/*
- *     Definitions for cpu identification in multi-processors.
- */
+extern int             master_cpu;
+
+#endif /* MACH_KERNEL_PRIVATE */
 
-extern int     master_cpu;     /* 'master' processor - keeps time */
+#include <machine/cpu_number.h>
 
 #endif /* _KERN_CPU_NUMBER_H_ */
+
+#endif /* XNU_KERNEL_PRIVATE */