diff options
author | Santosh Shilimkar <santosh.shilimkar@ti.com> | 2010-08-02 12:18:19 +0200 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2010-08-02 12:18:19 +0200 |
commit | 7d35b8d09fb0cb0a89c8c265a5bfb52c2867b1d5 (patch) | |
tree | 1086c9e507b3565563bede1498487e30b7c3c1b3 /arch/arm/mach-omap2/include | |
parent | omap4: Add smc API to read AuxCoreBoot0 register (diff) | |
download | linux-7d35b8d09fb0cb0a89c8c265a5bfb52c2867b1d5.tar.xz linux-7d35b8d09fb0cb0a89c8c265a5bfb52c2867b1d5.zip |
omap4: hotplug: Add basic CPU hotplug support
This patch adds cpu hotplug support for OMAP4430. Only CPU inactive
state is supported as a low power state in the basic hot-plug support
Signed-off-by: Rajendra Nayak <rnayak@ti.com>
Signed-off-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Cc: Kevin Hilman <khilman@deeprootsystems.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap2/include')
-rw-r--r-- | arch/arm/mach-omap2/include/mach/omap4-common.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/include/mach/omap4-common.h b/arch/arm/mach-omap2/include/mach/omap4-common.h index 423af3a6dd31..2744dfee1ff4 100644 --- a/arch/arm/mach-omap2/include/mach/omap4-common.h +++ b/arch/arm/mach-omap2/include/mach/omap4-common.h @@ -13,6 +13,13 @@ #ifndef OMAP_ARCH_OMAP4_COMMON_H #define OMAP_ARCH_OMAP4_COMMON_H +/* + * wfi used in low power code. Directly opcode is used instead + * of instruction to avoid mulit-omap build break + */ +#define do_wfi() \ + __asm__ __volatile__ (".word 0xe320f003" : : : "memory") + #ifdef CONFIG_CACHE_L2X0 extern void __iomem *l2cache_base; #endif |