cpu: Mark cpu_possible_mask as __ro_after_init
authorAlexey Dobriyan <adobriyan@gmail.com>
Mon, 5 Feb 2024 10:01:19 +0000 (13:01 +0300)
committerThomas Gleixner <tglx@linutronix.de>
Mon, 19 Feb 2024 17:05:47 +0000 (18:05 +0100)
commitda92df490eeab7a97a3390ff32e0ae091e0dc2eb
tree7eeb5a7c4692da3506d89b2791e8ebd30dc8989b
parenteffe6d278e06f85289b6ada0402a6d16ebc149a5
cpu: Mark cpu_possible_mask as __ro_after_init

cpu_possible_mask is by definition "cpus which could be hotplugged without
reboot". It's a property which is fixed after kernel enumerates the
hardware configuration.

Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/r/41cd78af-92a3-4f23-8c7a-4316a04a66d8@p183
kernel/cpu.c