Commit a4abd55a authored by Christophe Leroy's avatar Christophe Leroy Committed by Michael Ellerman
Browse files

powerpc/kexec: Declare kexec_paca static

parent e15c703b
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -24,9 +24,7 @@ extern struct task_struct *secondary_current;
void start_secondary(void *unused);

/* kexec */
struct paca_struct;
struct kimage;
extern struct paca_struct kexec_paca;
void kexec_copy_flush(struct kimage *image);

/* pseries hcall tracing */
+1 −1
Original line number Diff line number Diff line
@@ -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,