summaryrefslogtreecommitdiffstats
path: root/module/spl
diff options
context:
space:
mode:
Diffstat (limited to 'module/spl')
-rw-r--r--module/spl/spl-err.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/spl/spl-err.c b/module/spl/spl-err.c
index 14ff8a337..cf9f096b1 100644
--- a/module/spl/spl-err.c
+++ b/module/spl/spl-err.c
@@ -65,7 +65,7 @@ spl_panic(const char *file, const char *func, int line, const char *fmt, ...) {
spl_dumpstack();
/* Halt the thread to facilitate further debugging */
- set_task_state(current, TASK_UNINTERRUPTIBLE);
+ set_current_state(TASK_UNINTERRUPTIBLE);
while (1)
schedule();
@@ -98,7 +98,7 @@ vcmn_err(int ce, const char *fmt, va_list ap)
spl_dumpstack();
/* Halt the thread to facilitate further debugging */
- set_task_state(current, TASK_UNINTERRUPTIBLE);
+ set_current_state(TASK_UNINTERRUPTIBLE);
while (1)
schedule();
}