]> git.saurik.com Git - apple/xnu.git/blobdiff - bsd/kern/kdebug.c
xnu-1228.9.59.tar.gz
[apple/xnu.git] / bsd / kern / kdebug.c
index 952d2b87c3f7639d334b0f062ce4a48b81360f33..7377435358ca785d5148746628e36094185ec332 100644 (file)
@@ -402,7 +402,7 @@ kdbg_lock_init(void)
        /* get the number of cpus and cache it */
 #define BSD_HOST 1
        host_info((host_t)BSD_HOST, HOST_BASIC_INFO, (host_info_t)&hinfo, &count);
-       kd_cpus = hinfo.physical_cpu_max;
+       kd_cpus = hinfo.logical_cpu_max;
 
        if (kmem_alloc(kernel_map, (unsigned int *)&kdbip,
                       sizeof(struct kd_bufinfo) * kd_cpus) != KERN_SUCCESS)