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-03 09:14:22 -07:00
2017-08-17 07:33:41 +10: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-08-16 20:14:22 +02: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-08-29 05:20:35 +10:00
2017-11-02 11:10:55 +01:00
2017-06-20 10:41:03 +02:00
2017-11-13 15:38:16 +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-08-16 20:11:43 +02:00
2017-07-26 13:43:33 +02:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-08-16 20:12:19 +02:00
2017-11-03 09:14:22 -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-09-25 08:35:53 +02:00
2017-06-20 10:41:03 +02: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-06-20 10:41:03 +02:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-06-20 10:41:03 +02:00
2017-11-02 11:10:55 +01:00
2017-08-10 11:26:49 +10:00
2017-11-02 11:10:55 +01:00
2017-06-20 10:41:03 +02:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-08-16 21:39:26 +02:00
2017-11-02 11:10:55 +01:00
2017-09-04 12:21:28 -07:00
2017-11-02 11:10:55 +01:00
2017-08-11 11:41:43 -04:00
2017-06-20 10:41:03 +02:00
2017-11-02 11:10:55 +01:00
2017-11-07 17:01:39 +10:00
2017-11-02 11:10:55 +01:00
2017-10-09 14:26:45 +02:00
2017-09-03 17:02:26 -07:00
2017-09-13 18:53:16 -07:00
2017-07-04 13:16:26 -04:00
2017-06-20 12:13:11 +02:00
2017-08-08 14:45:09 +02:00
2017-08-08 14:45:09 +02:00
2017-08-08 14:45:09 +02:00
2017-08-08 14:45:09 +02:00
2017-07-17 16:34:51 +02:00
2017-11-13 15:38:16 +00:00
2017-09-13 18:53:16 -07:00
2017-07-21 17:45:26 +03:00
2017-07-27 08:15:43 +10:00
2017-08-11 10:49:21 +02:00
2017-07-29 13:51:44 +02:00
2017-07-14 21:23:54 +03:00
2017-08-16 21:34:38 +02:00
2017-08-07 17:01:15 +02:00
2017-08-11 10:48:03 +02:00
2017-07-26 13:43:33 +02:00
2017-08-16 20:21:24 +02:00
2017-08-16 21:32:23 +02:00
2017-09-04 12:21:28 -07:00
2017-08-29 10:16:25 +10:00
2017-07-26 13:43:33 +02:00
2017-08-29 10:16:25 +10:00
2017-07-04 13:16:26 -04:00
2017-07-26 13:45:06 +02:00
2017-09-08 18:26:49 -07:00
2017-08-01 17:50:06 +01:00
2017-08-08 14:45:09 +02:00
2017-07-31 14:23:30 +02:00
2017-08-01 17:50:06 +01:00
2017-07-26 13:45:08 +02:00
2017-07-26 13:45:06 +02:00
2017-06-20 10:41:03 +02:00
2017-09-03 17:02:26 -07:00
2017-07-14 21:23:54 +03:00
2017-07-14 15:53:06 +02:00
2017-09-13 18:53:16 -07:00
2017-08-01 17:50:06 +01:00
2017-08-29 10:16:25 +10:00
2017-11-02 11:10:55 +01:00
2017-07-26 13:43:33 +02:00
2017-09-04 12:21:28 -07:00
2017-09-08 18:26:49 -07:00
2017-11-02 11:10:55 +01:00