summaryrefslogtreecommitdiff
path: root/arch/powerpc/kernel
diff options
context:
space:
mode:
authorChristophe Leroy <christophe.leroy@csgroup.eu>2022-03-04 18:04:03 +0100
committerMichael Ellerman <mpe@ellerman.id.au>2022-03-08 00:05:01 +1100
commite15c703be48edc3b2f96b66d4f548dc88b44266c (patch)
treee5e52e969de5fc08c33eee6b74d266e574dc9033 /arch/powerpc/kernel
parente86debbbb5f89c2575110cfdce89d1820577aa94 (diff)
downloadlinux-e15c703be48edc3b2f96b66d4f548dc88b44266c.tar.gz
linux-e15c703be48edc3b2f96b66d4f548dc88b44266c.tar.bz2
linux-e15c703be48edc3b2f96b66d4f548dc88b44266c.zip
powerpc/smp: Declare current_set static
current_set extern not needed anymore since commit eafd825ed710 ("powerpc/64: Simplify __secondary_start paca->kstack handling") Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/a55eb65c9d7319f0af3c31e3f6ba36522f10003d.1646413435.git.christophe.leroy@csgroup.eu
Diffstat (limited to 'arch/powerpc/kernel')
-rw-r--r--arch/powerpc/kernel/smp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/kernel/smp.c b/arch/powerpc/kernel/smp.c
index b7fd6a72aa76..7e30a6fe5adf 100644
--- a/arch/powerpc/kernel/smp.c
+++ b/arch/powerpc/kernel/smp.c
@@ -716,7 +716,7 @@ void smp_send_stop(void)
}
#endif /* CONFIG_NMI_IPI */
-struct task_struct *current_set[NR_CPUS];
+static struct task_struct *current_set[NR_CPUS];
static void smp_store_cpu_info(int id)
{