From e6d87036412b952cb083eff2dc716aee97a771f2 Mon Sep 17 00:00:00 2001 From: Roman Yeryomin Date: Fri, 17 May 2013 20:40:24 +0300 Subject: Move to rsdk 3.2.4. Compiles cleanly. Signed-off-by: Roman Yeryomin --- target/linux/realtek/files/arch/rlx/include/asm/processor.h | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'target/linux/realtek/files/arch/rlx/include/asm/processor.h') 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(); -- cgit v1.2.3