Loading
arm64: mm: Stop use spinlock during pbha early init
hulk inclusion category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/I96IZH -------------------------------- During early_pbha_init() in __primary_switched(), debug spinlock related function is not fully initialized. This will lead to kernel unable to boot with CONFIG_LOCK_STAT=y or related configs. Since kernel is running with only one cpu during startup, there is no need to use lock. Fix it by removing the spinlock. Fixes: f43933b3 ("arm64: cpufeature: Enable PBHA for stage1 early via FDT") Signed-off-by:Ma Wupeng <mawupeng1@huawei.com>