X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/a3d08fcd5120d2aa8303b6349ca8b14e3f284af3..91447636331957f3d9b5ca5b508f07c526b0074d:/osfmk/profiling/i386/profile-asm.s diff --git a/osfmk/profiling/i386/profile-asm.s b/osfmk/profiling/i386/profile-asm.s index 94a9e1329..a47e9fcd7 100644 --- a/osfmk/profiling/i386/profile-asm.s +++ b/osfmk/profiling/i386/profile-asm.s @@ -176,8 +176,6 @@ .file "profile-asm.s" -#include - #include /* @@ -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 @@ -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