]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - drivers/staging/lustre/lnet/libcfs/linux/linux-debug.c
Merge branches 'pm-core', 'pm-qos', 'pm-domains' and 'pm-opp'
[linux.git] / drivers / staging / lustre / lnet / libcfs / linux / linux-debug.c
index 39a72e3f0c18fca4bacdc2aa15c7d1d586b51cb6..7035356e56b33ab38aef0641af41e6d2f18901e1 100644 (file)
@@ -107,7 +107,7 @@ void __noreturn lbug_with_loc(struct libcfs_debug_msg_data *msgdata)
                libcfs_debug_dumplog();
        if (libcfs_panic_on_lbug)
                panic("LBUG");
-       set_task_state(current, TASK_UNINTERRUPTIBLE);
+       set_current_state(TASK_UNINTERRUPTIBLE);
        while (1)
                schedule();
 }