]> git.saurik.com Git - apple/xnu.git/blobdiff - bsd/kern/kern_core.c
xnu-4903.221.2.tar.gz
[apple/xnu.git] / bsd / kern / kern_core.c
index 73a9a454b8ffd7f2376a47c3149f9b37e7b4814f..07acd675c7f7c170fb73c04f787a75fbd0a2b8ae 100644 (file)
@@ -134,7 +134,7 @@ process_cpu_type(proc_t core_proc)
 {
        cpu_type_t what_we_think;
 #if defined (__i386__) || defined (__x86_64__)
-    if (IS_64BIT_PROCESS(core_proc)) {
+       if (IS_64BIT_PROCESS(core_proc)) {
                what_we_think = CPU_TYPE_X86_64;
        } else {
                what_we_think = CPU_TYPE_I386;
@@ -146,6 +146,7 @@ process_cpu_type(proc_t core_proc)
                what_we_think = CPU_TYPE_ARM;
        }
 #endif
+
        return what_we_think;
 }
 
@@ -154,13 +155,13 @@ process_cpu_subtype(proc_t core_proc)
 {
        cpu_type_t what_we_think;
 #if defined (__i386__) || defined (__x86_64__)
-    if (IS_64BIT_PROCESS(core_proc)) {
+       if (IS_64BIT_PROCESS(core_proc)) {
                what_we_think = CPU_SUBTYPE_X86_64_ALL;
        } else {
                what_we_think = CPU_SUBTYPE_I386_ALL;
        }
 #elif defined (__arm__) || defined(__arm64__)
-    if (IS_64BIT_PROCESS(core_proc)) {
+       if (IS_64BIT_PROCESS(core_proc)) {
                what_we_think = CPU_SUBTYPE_ARM64_ALL;
        } else {
                what_we_think = CPU_SUBTYPE_ARM_ALL;