From c272beb6e7d1810338d99ffeb78f70117f40c416 Mon Sep 17 00:00:00 2001 From: Dmitry Osipenko Date: Sat, 12 Mar 2022 22:18:18 +0300 Subject: [PATCH] fixup arch/arm/mm/proc-v7-bugs.c Signed-off-by: Dmitry Osipenko --- arch/arm/mm/proc-v7-bugs.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/arch/arm/mm/proc-v7-bugs.c b/arch/arm/mm/proc-v7-bugs.c index 06dbfb968182d..e59d6f14b65c8 100644 --- a/arch/arm/mm/proc-v7-bugs.c +++ b/arch/arm/mm/proc-v7-bugs.c @@ -108,8 +108,7 @@ static unsigned int spectre_v2_install_workaround(unsigned int method) #else static unsigned int spectre_v2_install_workaround(unsigned int method) { - pr_info("CPU%u: Spectre V2: workarounds disabled by configuration\n", - smp_processor_id()); + pr_info_once("Spectre V2: workarounds disabled by configuration\n"); return SPECTRE_VULNERABLE; }