diff options
| author | Roman Yeryomin <roman@advem.lv> | 2013-05-17 20:40:24 +0300 |
|---|---|---|
| committer | Roman Yeryomin <roman@advem.lv> | 2013-05-17 20:40:24 +0300 |
| commit | e6d87036412b952cb083eff2dc716aee97a771f2 (patch) | |
| tree | 273dd3daaa85553832d3cc6d48276229dc7fbe09 /target/linux/realtek/files/arch/rlx/include/asm/processor.h | |
| parent | a18fec42221baa52fff4c5ffd45ec8f32e3add36 (diff) | |
Move to rsdk 3.2.4. Compiles cleanly.
Signed-off-by: Roman Yeryomin <roman@advem.lv>
Diffstat (limited to 'target/linux/realtek/files/arch/rlx/include/asm/processor.h')
| -rw-r--r-- | target/linux/realtek/files/arch/rlx/include/asm/processor.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/target/linux/realtek/files/arch/rlx/include/asm/processor.h b/target/linux/realtek/files/arch/rlx/include/asm/processor.h index 909c7b868..b4644f7eb 100644 --- a/target/linux/realtek/files/arch/rlx/include/asm/processor.h +++ b/target/linux/realtek/files/arch/rlx/include/asm/processor.h @@ -65,9 +65,8 @@ static inline void cpu_wait(void) * ==> only apply to RTL865X, it still need to check the WLAN throughput in RTL8196B */ -#ifdef CONFIG_RTL_8196C //michaelxxx -#define CONFIG_RTL819X_SUSPEND_CHECK_INTERRUPT -#ifdef CONFIG_RTL819X_SUSPEND_CHECK_INTERRUPT +#if defined(CONFIG_RTL_8196C) || defined(CONFIG_RTL_819XD) || defined(CONFIG_RTL_8196E) +#ifdef CONFIG_CPU_HAS_SLEEP extern int cpu_can_suspend, cpu_can_suspend_check_init; extern void suspend_check_interrupt_init(void); @@ -80,8 +79,8 @@ static inline void cpu_wait(void) suspend_check_interrupt_init(); cpu_can_suspend_check_init = 1; } -#endif //CONFIG_RTL819X_SUSPEND_CHECK_INTERRUPT -#endif //CONFIG_RTL8196C +#endif +#endif /* We stop the CPU to conserve power */ __cpu_wait(); |
