David Howells
5e4def2038
Pass mode to wait_on_atomic_t() action funcs and provide default actions
...
Make wait_on_atomic_t() pass the TASK_* mode onto its action function as an
extra argument and make it 'unsigned int throughout.
Also, consolidate a bunch of identical action functions into a default
function that can do the appropriate thing for the mode.
Also, change the argument name in the bit_wait*() function declarations to
reflect the fact that it's the mode and not the bit number.
[Peter Z gives this a grudging ACK, but thinks that the whole atomic_t wait
should be done differently, though he's not immediately sure as to how]
Signed-off-by: David Howells <dhowells@redhat.com >
Acked-by: Peter Zijlstra <peterz@infradead.org >
cc: Ingo Molnar <mingo@kernel.org >
2017-11-13 15:38:16 +00:00
..
2017-11-02 11:10:55 +01:00
2017-11-13 15:36:33 +00:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-13 15:36:33 +00:00
2017-11-13 15:36:33 +00:00
2017-11-13 15:36:33 +00:00
2017-11-13 15:36:33 +00:00
2017-11-04 18:07:50 +09:00
2017-11-13 15:36:33 +00:00
2017-11-04 09:26:51 +09:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-13 15:36:33 +00:00
2017-11-03 13:56:15 -07:00
2017-11-13 15:36:33 +00:00
2017-10-22 02:22:39 +01:00
2017-11-13 15:36:33 +00:00
2017-11-03 09:02:30 -07:00
2017-11-13 15:36:33 +00:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-13 15:36:33 +00:00
2017-11-04 14:26:30 -07:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-13 15:38:16 +00:00
2017-11-02 11:10:55 +01:00
2017-11-13 15:36:33 +00:00
2017-11-02 11:10:55 +01:00
2017-11-02 10:04:46 -07:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-13 15:36:33 +00:00
2017-11-04 15:01:50 +01:00
2017-11-02 11:10:55 +01:00
2017-11-04 09:26:51 +09:00
2017-11-13 15:36:33 +00:00
2017-11-02 11:10:55 +01:00
2017-11-05 11:43:20 -08:00
2017-11-05 22:24:15 +09:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-13 15:36:33 +00:00
2017-11-13 15:36:33 +00:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-13 15:38:16 +00:00
2017-11-02 11:10:55 +01:00
2017-11-13 15:36:33 +00:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-13 15:36:33 +00:00
2017-11-03 09:19:20 -07:00
2017-11-02 11:10:55 +01:00
2017-11-13 15:36:33 +00:00
2017-11-06 01:05:50 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 10:04:46 -07:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-13 15:36:33 +00:00
2017-11-02 11:10:55 +01:00
2017-11-13 15:36:33 +00:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 10:04:46 -07:00
2017-11-02 10:04:46 -07:00
2017-11-02 11:10:55 +01:00
2017-11-03 09:02:30 -07:00
2017-09-08 18:26:51 -07:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-13 15:36:33 +00:00
2017-11-02 10:04:46 -07:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-13 15:36:33 +00:00
2017-11-13 15:36:33 +00:00
2017-11-02 11:10:55 +01:00
2017-11-13 15:36:33 +00:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 10:04:46 -07:00
2017-11-02 11:10:55 +01:00
2017-11-13 15:36:33 +00:00
2017-11-13 15:36:33 +00:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-04 09:26:51 +09:00
2017-11-13 15:36:33 +00:00
2017-11-02 11:10:55 +01:00
2017-11-13 15:36:33 +00:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-04 09:26:51 +09:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-13 15:36:33 +00:00
2017-11-13 15:36:33 +00:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00