diff options
Diffstat (limited to 'kernel/timer.c')
-rw-r--r-- | kernel/timer.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/kernel/timer.c b/kernel/timer.c index feddf817baa5..c2a8ccfc2882 100644 --- a/kernel/timer.c +++ b/kernel/timer.c | |||
@@ -1344,11 +1344,10 @@ fastcall signed long __sched schedule_timeout(signed long timeout) | |||
1344 | * should never happens anyway). You just have the printk() | 1344 | * should never happens anyway). You just have the printk() |
1345 | * that will tell you if something is gone wrong and where. | 1345 | * that will tell you if something is gone wrong and where. |
1346 | */ | 1346 | */ |
1347 | if (timeout < 0) | 1347 | if (timeout < 0) { |
1348 | { | ||
1349 | printk(KERN_ERR "schedule_timeout: wrong timeout " | 1348 | printk(KERN_ERR "schedule_timeout: wrong timeout " |
1350 | "value %lx from %p\n", timeout, | 1349 | "value %lx\n", timeout); |
1351 | __builtin_return_address(0)); | 1350 | dump_stack(); |
1352 | current->state = TASK_RUNNING; | 1351 | current->state = TASK_RUNNING; |
1353 | goto out; | 1352 | goto out; |
1354 | } | 1353 | } |