aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strncpy-src.c
diff options
context:
space:
mode:
authorHelge Deller <[email protected]>2024-02-05 10:39:20 +0100
committerHelge Deller <[email protected]>2024-02-07 00:13:21 +0100
commit82b143aeb169b8b55798d7d2063032e1a6ceeeb0 (patch)
treeb2a1e876773ad2c8f6d58b27bedf18aebe5f1b1e /lib/test_fortify/write_overflow-strncpy-src.c
parent54be6c6c5ae8e0d93a6c4641cb7528eb0b6ba478 (diff)
Revert "parisc: Only list existing CPUs in cpu_possible_mask"
This reverts commit 0921244f6f4f0d05698b953fe632a99b38907226. It broke CPU hotplugging because it modifies the __cpu_possible_mask after bootup, so that it will be different than nr_cpu_ids, which then effictively breaks the workqueue setup code and triggers crashes when shutting down CPUs at runtime. Guenter was the first who noticed the wrong values in __cpu_possible_mask, since the cpumask Kunit tests were failig. Reverting this commit fixes both issues, but sadly brings back this uncritical runtime warning: register_cpu_capacity_sysctl: too early to get CPU4 device! Signed-off-by: Helge Deller <[email protected]> Reported-by: Guenter Roeck <[email protected]> Link: https://lkml.org/lkml/2024/2/4/146 Link: https://lore.kernel.org/lkml/[email protected]/t/ Cc: [email protected] # 6.0+
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions