diff options
Diffstat (limited to 'module/spl/spl-thread.c')
-rw-r--r-- | module/spl/spl-thread.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/module/spl/spl-thread.c b/module/spl/spl-thread.c index d441ad65f..c4977bcf2 100644 --- a/module/spl/spl-thread.c +++ b/module/spl/spl-thread.c @@ -27,6 +27,7 @@ #include <sys/thread.h> #include <sys/kmem.h> #include <sys/tsd.h> +#include <linux/simd.h> /* * Thread interfaces @@ -54,6 +55,7 @@ thread_generic_wrapper(void *arg) args = tp->tp_args; set_current_state(tp->tp_state); set_user_nice((kthread_t *)current, PRIO_TO_NICE(tp->tp_pri)); + kfpu_initialize(); kmem_free(tp->tp_name, tp->tp_name_size); kmem_free(tp, sizeof (thread_priv_t)); |