]> git.saurik.com Git - apple/xnu.git/blobdiff - osfmk/i386/machine_routines.c
xnu-4570.71.2.tar.gz
[apple/xnu.git] / osfmk / i386 / machine_routines.c
index cfe895601547413340681861429c86375de385f2..68f9f781925480d7fbec1ce4c0cb810f77c45468 100644 (file)
@@ -413,10 +413,6 @@ register_cpu(
        if (this_cpu_datap->cpu_console_buf == NULL)
                goto failed;
 
-       this_cpu_datap->cpu_chud = chudxnu_cpu_alloc(boot_cpu);
-       if (this_cpu_datap->cpu_chud == NULL)
-               goto failed;
-
 #if KPC
        if (kpc_register_cpu(this_cpu_datap) != TRUE)
                goto failed;
@@ -452,11 +448,10 @@ failed:
 #if NCOPY_WINDOWS > 0
        pmap_cpu_free(this_cpu_datap->cpu_pmap);
 #endif
-       chudxnu_cpu_free(this_cpu_datap->cpu_chud);
        console_cpu_free(this_cpu_datap->cpu_console_buf);
 #if KPC
        kpc_unregister_cpu(this_cpu_datap);
-#endif
+#endif /* KPC */
 
        return KERN_FAILURE;
 }