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