Helge Deller b6405f0829 parisc: Use num_present_cpus() in alternative patching code
When patching the kernel code some alternatives depend on SMP vs. !SMP.
Use the value of num_present_cpus() instead of num_online_cpus() to
decide, otherwise we may run into issues if and additional CPU is
enabled after having loaded a module while only one CPU was enabled.

Signed-off-by: Helge Deller <deller@gmx.de>
Cc: <stable@vger.kernel.org> # v6.1+
2023-05-23 18:17:32 +02:00
..
2021-11-01 20:05:19 -07:00
2022-01-11 11:57:37 +01:00
2020-10-15 08:10:37 +02:00
2023-05-09 14:04:56 +02:00
2022-12-18 22:18:49 +01:00
2022-05-08 20:01:12 +02:00
2022-03-11 19:49:30 +01:00
2022-03-28 17:29:53 -07:00