]> git.saurik.com Git - apple/xnu.git/blobdiff - osfmk/i386/bsd_i386.c
xnu-3789.70.16.tar.gz
[apple/xnu.git] / osfmk / i386 / bsd_i386.c
index 4e1cf5634c4c13c038a8e4a692559774dd403204..9b7094974e3ca591bb3e0fa832bcce736094a451 100644 (file)
@@ -417,11 +417,8 @@ mach_call_munger(x86_saved_state_t *state)
        struct mach_call_args args = { 0, 0, 0, 0, 0, 0, 0, 0, 0 };
        x86_saved_state32_t     *regs;
 
-#if PROC_REF_DEBUG
        struct uthread *ut = get_bsdthread_info(current_thread());
-
        uthread_reset_proc_refcount(ut);
-#endif
 
        assert(is_saved_state32(state));
        regs = saved_state32(state);
@@ -505,11 +502,8 @@ mach_call_munger64(x86_saved_state_t *state)
        struct mach_call_args args = { 0, 0, 0, 0, 0, 0, 0, 0, 0 };
        x86_saved_state64_t     *regs;
 
-#if PROC_REF_DEBUG
        struct uthread *ut = get_bsdthread_info(current_thread());
-
        uthread_reset_proc_refcount(ut);
-#endif
 
        assert(is_saved_state64(state));
        regs = saved_state64(state);