2 * CPU hotplug support for CSR Marco dual-core SMP SoCs
4 * Copyright (c) 2012 Cambridge Silicon Radio Limited, a CSR plc group company.
6 * Licensed under GPLv2 or later.
9 #include <linux/kernel.h>
10 #include <linux/errno.h>
11 #include <linux/smp.h>
13 #include <asm/cacheflush.h>
14 #include <asm/smp_plat.h>
16 static inline void platform_do_lowpower(unsigned int cpu
)
20 /* we put the platform to just WFI */
22 __asm__
__volatile__("dsb\n\t" "wfi\n\t"
24 if (pen_release
== cpu_logical_map(cpu
)) {
26 * OK, proper wakeup, we're done
34 * platform-specific code to shutdown a CPU
36 * Called with IRQs disabled
38 void __ref
sirfsoc_cpu_die(unsigned int cpu
)
40 platform_do_lowpower(cpu
);
This page took 0.042906 seconds and 5 git commands to generate.