powerpc/smp: Declare current_set static
current_set extern not needed anymore since
commit eafd825ed7
("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
This commit is contained in:
parent
e86debbbb5
commit
e15c703be4
@ -20,7 +20,6 @@
|
|||||||
#include <uapi/asm/ucontext.h>
|
#include <uapi/asm/ucontext.h>
|
||||||
|
|
||||||
/* SMP */
|
/* SMP */
|
||||||
extern struct task_struct *current_set[NR_CPUS];
|
|
||||||
extern struct task_struct *secondary_current;
|
extern struct task_struct *secondary_current;
|
||||||
void start_secondary(void *unused);
|
void start_secondary(void *unused);
|
||||||
|
|
||||||
|
@ -716,7 +716,7 @@ void smp_send_stop(void)
|
|||||||
}
|
}
|
||||||
#endif /* CONFIG_NMI_IPI */
|
#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)
|
static void smp_store_cpu_info(int id)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user