]> git.saurik.com Git - apple/xnu.git/blobdiff - osfmk/profiling/i386/profile-asm.s
xnu-792.tar.gz
[apple/xnu.git] / osfmk / profiling / i386 / profile-asm.s
index 94a9e1329731793ea44c9d53c2124cf3c35d6d95..a47e9fcd7076b1f2d06915c1e95bfc043f5e4e4f 100644 (file)
 
        .file   "profile-asm.s"
 
-#include <cpus.h>
-
 #include <machine/asm.h>
 
 /*
@@ -661,7 +659,7 @@ ENDDATA(_profile_do_stats)
  * except to load this pointer.
  */
 
-#if defined (MACH_KERNEL) && NCPUS > 1
+#if defined (MACH_KERNEL)
 #define ASSEMBLER
 #include <i386/mp.h>
 
@@ -675,7 +673,7 @@ ENDDATA(_profile_do_stats)
 
 #define Vload  CPU_NUMBER(%ebx); movl EXT(_profile_vars_cpus)(,%ebx,4),%ebx
 
-#else  /* not kernel or not multiprocessor */
+#else  /* not kernel */
 #define        Vload   Gload; Egaddr(%ebx,_profile_vars)
 #endif