X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/a991bd8d3e7fe02dbca0644054bab73c5b75324a..refs/heads/master:/osfmk/vm/vm_purgeable.c diff --git a/osfmk/vm/vm_purgeable.c b/osfmk/vm/vm_purgeable.c index b44ec0cf8..08355b9e5 100644 --- a/osfmk/vm/vm_purgeable.c +++ b/osfmk/vm/vm_purgeable.c @@ -736,13 +736,13 @@ vm_purgeable_object_find_and_lock( */ owner = object->vo_owner; if (owner != NULL && owner != VM_OBJECT_OWNER_DISOWNED) { -#if CONFIG_EMBEDDED +#if !XNU_TARGET_OS_OSX #if CONFIG_JETSAM object_task_importance = proc_get_memstat_priority((struct proc *)get_bsdtask_info(owner), TRUE); #endif /* CONFIG_JETSAM */ -#else /* CONFIG_EMBEDDED */ +#else /* !XNU_TARGET_OS_OSX */ object_task_importance = task_importance_estimate(owner); -#endif /* CONFIG_EMBEDDED */ +#endif /* !XNU_TARGET_OS_OSX */ } if (object_task_importance < best_object_task_importance) {