Paul E. McKenney
1e474b28e7
smp/up: Make smp_call_function_single() match SMP semantics
...
In CONFIG_SMP=y kernels, smp_call_function_single() returns -ENXIO when
invoked for a non-existent CPU. In contrast, in CONFIG_SMP=n kernels,
a splat is emitted and smp_call_function_single() otherwise silently
ignores its "cpu" argument, instead pretending that the caller intended
to have something happen on CPU 0. Given that there is now code that
expects smp_call_function_single() to return an error if a bad CPU was
specified, this difference in semantics needs to be addressed.
Bring the semantics of the CONFIG_SMP=n version of
smp_call_function_single() into alignment with its CONFIG_SMP=y
counterpart.
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lkml.kernel.org/r/20200205143409.GA7021@paulmck-ThinkPad-P72
2020-02-07 15:34:12 +01:00
..
2020-01-15 13:39:59 -08:00
2020-01-15 08:04:29 -08:00
2019-10-28 12:08:29 +00:00
2019-12-04 19:44:13 -08:00
2020-01-17 11:32:44 +01:00
2019-09-15 21:37:13 +02:00
2020-01-24 20:08:51 +01:00
2019-11-27 11:42:01 -08:00
2020-01-17 10:19:27 +01:00
2020-01-23 16:00:56 +01:00
2019-12-03 09:29:50 -08:00
2019-10-30 08:47:13 -07:00
2020-01-22 16:29:49 +01:00
2020-01-27 16:47:05 -08:00
2020-01-22 07:09:20 -05:00
2019-04-29 16:48:03 +02:00
2019-04-04 21:04:13 -04:00
2019-06-05 17:37:17 +02:00
2019-05-30 11:26:37 -07:00
2019-04-26 13:51:03 -04:00
2019-11-10 11:56:55 -05:00
2019-12-09 15:19:03 -05:00
2019-07-08 18:55:42 -07:00
2019-07-08 18:55:42 -07:00
2019-11-23 09:56:02 -08:00
2019-06-05 17:37:17 +02:00
2019-01-25 11:22:43 -08:00
2019-11-15 14:38:30 +01:00
2019-07-30 18:34:15 +02:00
2019-10-29 10:01:12 +01:00
2019-06-05 17:36:37 +02:00
2020-01-09 17:31:45 +01:00
2019-06-19 17:09:06 +02:00
2019-05-21 10:50:45 +02:00
2020-01-14 09:56:31 -08:00
2019-05-21 11:52:39 +02:00
2019-09-25 17:51:39 -07:00
2020-01-03 11:17:14 -08:00
2019-10-17 16:44:36 +02:00
2019-06-03 15:49:06 +02:00
2020-01-27 16:47:05 -08:00
2019-10-06 09:11:37 -06:00
2020-01-09 13:23:40 +01:00
2019-11-11 20:10:01 +09:00
2019-05-21 10:50:45 +02:00
2019-07-12 11:05:40 -07:00
2019-11-15 10:48:37 +01:00
2019-08-29 15:10:10 +01:00
2019-08-27 16:19:56 +01:00
2019-05-21 10:50:46 +02:00
2019-05-21 10:50:46 +02:00
2019-05-21 10:50:46 +02:00
2019-11-12 11:35:32 +01:00
2019-12-04 19:44:14 -08:00
2020-01-08 16:32:55 +00:00
2019-09-06 23:58:44 +02:00
2020-01-08 16:32:55 +00:00
2020-01-08 16:32:55 +00:00
2020-01-08 16:32:55 +00:00
2019-05-24 20:16:01 +02:00
2019-09-20 11:19:48 -07:00
2019-05-30 11:26:39 -07:00
2019-10-16 09:20:58 -07:00
2019-06-05 17:37:17 +02:00
2019-12-02 17:35:04 -08:00
2019-08-05 18:39:56 -04:00
2019-08-05 18:39:56 -04:00
2019-05-24 17:27:11 +02:00
2019-12-11 12:22:38 -08:00
2019-12-04 19:44:12 -08:00
2020-01-14 12:20:48 +01:00
2019-09-13 21:15:41 +10:00
2019-11-25 09:15:42 +01:00
2019-08-19 21:54:16 -07:00
2019-11-15 23:49:22 +01:00
2019-11-15 23:49:22 +01:00
2019-12-04 19:44:12 -08:00
2020-01-18 13:51:39 +01:00
2019-05-21 10:50:45 +02:00
2019-03-12 13:27:20 -07:00
2019-09-24 15:54:09 -07:00
2019-12-25 10:41:20 +01:00
2020-01-02 13:03:45 -08:00
2019-10-11 08:39:57 -07:00
2020-01-28 15:43:00 +01:00
2019-05-21 10:50:45 +02:00
2019-07-08 11:01:13 -07:00
2019-11-11 10:30:59 +01:00
2019-10-31 09:33:19 +01:00
2019-11-15 14:38:30 +01:00
2019-12-04 19:44:12 -08:00
2019-11-26 13:03:56 -06:00
2019-09-30 17:35:01 -06:00
2019-12-01 12:59:07 -08:00
2019-12-04 15:18:39 +01:00
2019-05-21 11:52:39 +02:00
2019-08-01 14:30:22 -07:00
2019-07-18 11:51:00 -07:00
2019-05-30 11:26:37 -07:00
2019-07-18 17:08:07 -07:00
2019-05-21 10:50:45 +02:00
2020-02-07 15:34:12 +01:00
2019-07-08 19:36:47 -07:00
2019-05-21 10:50:45 +02:00
2019-07-08 19:36:47 -07:00
2019-06-05 17:37:17 +02:00
2019-06-05 17:37:17 +02:00
2019-04-19 09:46:05 -07:00
2020-01-17 11:19:22 +01:00
2019-04-16 16:55:15 +02:00
2020-01-15 08:02:47 -08:00