linux-next/cpu: remove stray semicolon
PATCH 1/1 linux-next/cpu: remove stray semicolon
This syntax error was introduced by commit da92df490eea ("cpu: Mark cpu_possible_mask as __ro_after_init").
Fixes da92df490eea ("cpu: Mark cpu_possible_mask as __ro_after_init")
Signed-off-by Max Kellermann <[email protected]>
--- kernel/cpu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
kernel/cpu.c +1 -1
@@ -3106,7 +3106,7 @@ const DECLARE_BITMAP(cpu_all_bits, NR_CPUS) = CPU_BITS_ALL;EXPORT_SYMBOL (cpu_all_bits);#ifdef CONFIG_INIT_ALL_POSSIBLE -struct cpumask __cpu_possible_mask__ro_after_init ; +struct cpumask __cpu_possible_mask__ro_after_init = {CPU_BITS_ALL };#else struct cpumask __cpu_possible_mask__ro_after_init ;
Signature · 1 line
2.39.2
[tip: smp/core] cpu: Remove stray semicolon
The following commit has been merged into the smp/core branch of tip:
The following commit has been merged into the smp/core branch of tip:
Commit-ID: 266e95786452d97f42dcb9a881bba223584b9648 Gitweb: https://git.kernel.org/tip/266e95786452d97f42dcb9a881bba223584b9648 Author: Max Kellermann <[email protected]> AuthorDate: Thu, 22 Feb 2024 12:47:27 +01:00 Committer: Thomas Gleixner <[email protected]> CommitterDate: Thu, 22 Feb 2024 17:51:14 +01:00
cpu: Remove stray semicolon
This syntax error was introduced by commit da92df490eea ("cpu: Mark cpu_possible_mask as __ro_after_init").
Fixes da92df490eea ("cpu: Mark cpu_possible_mask as __ro_after_init")
Signed-off-by Max Kellermann <[email protected]>
Signed-off-by Thomas Gleixner <[email protected]>
--- kernel/cpu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
kernel/cpu.c +1 -1
@@ -3106,7 +3106,7 @@ const DECLARE_BITMAP(cpu_all_bits, NR_CPUS) = CPU_BITS_ALL;EXPORT_SYMBOL (cpu_all_bits);#ifdef CONFIG_INIT_ALL_POSSIBLE -struct cpumask __cpu_possible_mask__ro_after_init ; +struct cpumask __cpu_possible_mask__ro_after_init = {CPU_BITS_ALL };#else struct cpumask __cpu_possible_mask__ro_after_init ;