diff options
| author | Santosh Shilimkar <santosh.shilimkar@ti.com> | 2011-07-25 06:52:34 -0400 |
|---|---|---|
| committer | Kevin Hilman <khilman@ti.com> | 2011-12-08 14:29:01 -0500 |
| commit | da82ce57a45ac2f295415ed487b9aec051db4f7f (patch) | |
| tree | b1376891db33fc7e10f2095e90f5f0554cadc7b1 | |
| parent | e44f9a7744de8e39eda0f544171efc6e4b1ed91c (diff) | |
ARM: OMAP4: Remove un-used do_wfi() macro.
With OMAP4 suspend, idle and hotplug series, we no longer need
do_wfi() macro.
Remove the same.
Signed-off-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Acked-by: Jean Pihet <j-pihet@ti.com>
Reviewed-by: Kevin Hilman <khilman@ti.com>
Tested-by: Vishwanath BS <vishwanath.bs@ti.com>
Signed-off-by: Kevin Hilman <khilman@ti.com>
| -rw-r--r-- | arch/arm/mach-omap2/common.h | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/arch/arm/mach-omap2/common.h b/arch/arm/mach-omap2/common.h index c078db1b3de8..3312174d64ba 100644 --- a/arch/arm/mach-omap2/common.h +++ b/arch/arm/mach-omap2/common.h | |||
| @@ -158,17 +158,6 @@ void omap3_intc_resume_idle(void); | |||
| 158 | void omap2_intc_handle_irq(struct pt_regs *regs); | 158 | void omap2_intc_handle_irq(struct pt_regs *regs); |
| 159 | void omap3_intc_handle_irq(struct pt_regs *regs); | 159 | void omap3_intc_handle_irq(struct pt_regs *regs); |
| 160 | 160 | ||
| 161 | /* | ||
| 162 | * wfi used in low power code. Directly opcode is used instead | ||
| 163 | * of instruction to avoid mulit-omap build break | ||
| 164 | */ | ||
| 165 | #ifdef CONFIG_THUMB2_KERNEL | ||
| 166 | #define do_wfi() __asm__ __volatile__ ("wfi" : : : "memory") | ||
| 167 | #else | ||
| 168 | #define do_wfi() \ | ||
| 169 | __asm__ __volatile__ (".word 0xe320f003" : : : "memory") | ||
| 170 | #endif | ||
| 171 | |||
| 172 | #ifdef CONFIG_CACHE_L2X0 | 161 | #ifdef CONFIG_CACHE_L2X0 |
| 173 | extern void __iomem *omap4_get_l2cache_base(void); | 162 | extern void __iomem *omap4_get_l2cache_base(void); |
| 174 | #endif | 163 | #endif |
