smp.c (4f2c0a4acffbec01079c28f839422e64ddeff004) smp.c (2dc0bc1138eecc88b2c376ccb0b0acb215c25a5c)
1// SPDX-License-Identifier: GPL-2.0-or-later
2/*
3 * Author: Andy Fleming <afleming@freescale.com>
4 * Kumar Gala <galak@kernel.crashing.org>
5 *
6 * Copyright 2006-2008, 2011-2012, 2015 Freescale Semiconductor Inc.
7 */
8

--- 166 unchanged lines hidden (view full) ---

175
176#ifdef CONFIG_PPC64
177static void wake_hw_thread(void *info)
178{
179 void fsl_secondary_thread_init(void);
180 unsigned long inia;
181 int cpu = *(const int *)info;
182
1// SPDX-License-Identifier: GPL-2.0-or-later
2/*
3 * Author: Andy Fleming <afleming@freescale.com>
4 * Kumar Gala <galak@kernel.crashing.org>
5 *
6 * Copyright 2006-2008, 2011-2012, 2015 Freescale Semiconductor Inc.
7 */
8

--- 166 unchanged lines hidden (view full) ---

175
176#ifdef CONFIG_PPC64
177static void wake_hw_thread(void *info)
178{
179 void fsl_secondary_thread_init(void);
180 unsigned long inia;
181 int cpu = *(const int *)info;
182
183 inia = *(unsigned long *)fsl_secondary_thread_init;
183 inia = ppc_function_entry(fsl_secondary_thread_init);
184 book3e_start_thread(cpu_thread_in_core(cpu), inia);
185}
186#endif
187
188static int smp_85xx_start_cpu(int cpu)
189{
190 int ret = 0;
191 struct device_node *np;

--- 328 unchanged lines hidden ---
184 book3e_start_thread(cpu_thread_in_core(cpu), inia);
185}
186#endif
187
188static int smp_85xx_start_cpu(int cpu)
189{
190 int ret = 0;
191 struct device_node *np;

--- 328 unchanged lines hidden ---