Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
powerpc: get_wchan(): solve possible race scenario due to parallel wa…
…keup Add a check for p->state == TASK_RUNNING so that any wake-ups on task_struct p in the interim lead to 0 being returned by get_wchan(). Signed-off-by: Kautuk Consul <kautuk.consul.1980@gmail.com> [mpe: Confirmed other architectures do similar] Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
- Loading branch information