|
@@ -235,7 +235,7 @@ int mcpm_cpu_power_up(unsigned int cpu, unsigned int cluster)
|
|
|
return ret;
|
|
|
}
|
|
|
|
|
|
-typedef void (*phys_reset_t)(unsigned long);
|
|
|
+typedef typeof(cpu_reset) phys_reset_t;
|
|
|
|
|
|
void mcpm_cpu_power_down(void)
|
|
|
{
|
|
@@ -300,7 +300,7 @@ void mcpm_cpu_power_down(void)
|
|
|
* on the CPU.
|
|
|
*/
|
|
|
phys_reset = (phys_reset_t)(unsigned long)__pa_symbol(cpu_reset);
|
|
|
- phys_reset(__pa_symbol(mcpm_entry_point));
|
|
|
+ phys_reset(__pa_symbol(mcpm_entry_point), false);
|
|
|
|
|
|
/* should never get here */
|
|
|
BUG();
|
|
@@ -389,7 +389,7 @@ static int __init nocache_trampoline(unsigned long _arg)
|
|
|
__mcpm_cpu_down(cpu, cluster);
|
|
|
|
|
|
phys_reset = (phys_reset_t)(unsigned long)__pa_symbol(cpu_reset);
|
|
|
- phys_reset(__pa_symbol(mcpm_entry_point));
|
|
|
+ phys_reset(__pa_symbol(mcpm_entry_point), false);
|
|
|
BUG();
|
|
|
}
|
|
|
|