]> git.saurik.com Git - apple/xnu.git/blobdiff - osfmk/i386/cpu_number.h
xnu-792.tar.gz
[apple/xnu.git] / osfmk / i386 / cpu_number.h
index cecff513b1fcc018a2763407e80ba2e9b5cb522a..81feb8edab2db5b4a86ae42609a48e8e47faf5c6 100644 (file)
  *     Machine-dependent definitions for cpu identification.
  *
  */
+#ifdef KERNEL_PRIVATE
+
 #ifndef        _I386_CPU_NUMBER_H_
 #define        _I386_CPU_NUMBER_H_
 
-#if    MP_V1_1
+#ifdef I386_CPU_DATA
 
 /* Get the cpu number directly from the pre-processor data area */
-#include <i386/cpu_data.h>
 #define        cpu_number()    get_cpu_number()
 
-#else  /* MP_V1_1 */
+#else  /* I386_CPU_DATA */
 
 /* Use a function to do this less directly. */
 extern int     cpu_number(void);
 
-#endif /* MP_V1_1 */
+#endif /* I386_CPU_DATA */
 
 #endif /* _I386_CPU_NUMBER_H_ */
+
+#endif /* KERNEL_PRIVATE */