summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kexec
diff options
context:
space:
mode:
authorChristophe Leroy <christophe.leroy@csgroup.eu>2022-03-04 18:04:04 +0100
committerMichael Ellerman <mpe@ellerman.id.au>2022-03-08 00:05:01 +1100
commita4abd55a2490fd6407ddb6810e41f64ebd66d3af (patch)
treec81696e8366281303c25204c8633f33bbc154cd0 /arch/powerpc/kexec
parente15c703be48edc3b2f96b66d4f548dc88b44266c (diff)
downloadlinux-a4abd55a2490fd6407ddb6810e41f64ebd66d3af.tar.gz
linux-a4abd55a2490fd6407ddb6810e41f64ebd66d3af.tar.bz2
linux-a4abd55a2490fd6407ddb6810e41f64ebd66d3af.zip
powerpc/kexec: Declare kexec_paca static
kexec_paca is exclusively used in kexec/core_64.c Declare it static. Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/094983ee851644165b7700c73cac63cfe20596cd.1646413435.git.christophe.leroy@csgroup.eu
Diffstat (limited to 'arch/powerpc/kexec')
-rw-r--r--arch/powerpc/kexec/core_64.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/kexec/core_64.c b/arch/powerpc/kexec/core_64.c
index 635b5fc30b53..2d49dce129f2 100644
--- a/arch/powerpc/kexec/core_64.c
+++ b/arch/powerpc/kexec/core_64.c
@@ -291,7 +291,7 @@ static union thread_union kexec_stack __init_task_data =
* For similar reasons to the stack above, the kexecing CPU needs to be on a
* static PACA; we switch to kexec_paca.
*/
-struct paca_struct kexec_paca;
+static struct paca_struct kexec_paca;
/* Our assembly helper, in misc_64.S */
extern void kexec_sequence(void *newstack, unsigned long start,