OSDN Git Service

sched/wait, arch/mips: Fix and convert wait_on_atomic_t() usage to the new wait_var_e...
authorPeter Zijlstra <peterz@infradead.org>
Thu, 15 Mar 2018 10:45:44 +0000 (11:45 +0100)
committerIngo Molnar <mingo@kernel.org>
Tue, 20 Mar 2018 07:23:23 +0000 (08:23 +0100)
commit6887a56b6e8ef5daf1160f2ebe5cbe38fd8819a2
treef618aea7ea09bfddc275ff0eab7d1cb3673a3489
parente24e960c7fe2d6068974efced0ce5bdad8e81866
sched/wait, arch/mips: Fix and convert wait_on_atomic_t() usage to the new wait_var_event() API

The old wait_on_atomic_t() is going to get removed, use the more
flexible wait_var_event() API instead.

And while there, fix a bug and add the missing wakeup...

Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: James Hogan <jhogan@kernel.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/mips/kernel/process.c
arch/mips/kernel/traps.c