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