]> git.proxmox.com Git - mirror_spl-debian.git/blobdiff - module/spl/spl-thread.c
PowerPC Compatibility
[mirror_spl-debian.git] / module / spl / spl-thread.c
index b1aa8119bfcc7a8ffb53a2cf9e76b76ede46160d..9f6e2237909662a1ae45fe848fb93584d8a34cf8 100644 (file)
@@ -60,7 +60,7 @@ thread_generic_wrapper(void *arg)
        func = tp->tp_func;
        args = tp->tp_args;
        set_current_state(tp->tp_state);
-       set_user_nice((kthread_t *)get_current(), PRIO_TO_NICE(tp->tp_pri));
+       set_user_nice((kthread_t *)current, PRIO_TO_NICE(tp->tp_pri));
        kmem_free(tp->tp_name, tp->tp_name_size);
        kmem_free(tp, sizeof(thread_priv_t));