aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/x86/kernel/process.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/process.c b/arch/x86/kernel/process.c
index c93fcfdf1673..3c3ee8982577 100644
--- a/arch/x86/kernel/process.c
+++ b/arch/x86/kernel/process.c
@@ -730,7 +730,7 @@ unsigned long get_wchan(struct task_struct *p)
730 unsigned long start, bottom, top, sp, fp, ip, ret = 0; 730 unsigned long start, bottom, top, sp, fp, ip, ret = 0;
731 int count = 0; 731 int count = 0;
732 732
733 if (!p || p == current || p->state == TASK_RUNNING) 733 if (p == current || p->state == TASK_RUNNING)
734 return 0; 734 return 0;
735 735
736 if (!try_get_task_stack(p)) 736 if (!try_get_task_stack(p))