From 9b0ec51098752c9b297440f155b3e74e145c6d15 Mon Sep 17 00:00:00 2001 From: Andrew Boie Date: Tue, 8 Nov 2016 10:46:09 -0800 Subject: [PATCH] arc: remove CONFIG_NANOKERNEL code Change-Id: I1978c067d422aebb52d736ac747443a06bd437c3 Signed-off-by: Andrew Boie --- arch/arc/core/cpu_idle.S | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/arch/arc/core/cpu_idle.S b/arch/arc/core/cpu_idle.S index d0bd74c0831..eb564526097 100644 --- a/arch/arc/core/cpu_idle.S +++ b/arch/arc/core/cpu_idle.S @@ -33,24 +33,9 @@ GTEXT(nano_cpu_idle) GTEXT(nano_cpu_atomic_idle) GDATA(nano_cpu_sleep_mode) -#if defined(CONFIG_NANOKERNEL) && defined(CONFIG_TICKLESS_IDLE) - GTEXT(_power_save_idle) -#endif - SECTION_VAR(BSS, nano_cpu_sleep_mode) .word 0 -#if defined(CONFIG_NANOKERNEL) && defined(CONFIG_TICKLESS_IDLE) -.macro enter_tickless_idle - /* interrupts are locked when entering here */ - push_s blink - jl _power_save_idle - pop_s blink -.endm -#else - #define enter_tickless_idle -#endif - /* * @brief Put the CPU in low-power mode * @@ -66,7 +51,6 @@ SECTION_FUNC(TEXT, nano_cpu_idle) jl _sys_k_event_logger_enter_sleep pop_s blink #endif - enter_tickless_idle ld r1, [nano_cpu_sleep_mode] or r1, r1, (1 << 4) /* set IRQ-enabled bit */ @@ -89,8 +73,6 @@ SECTION_FUNC(TEXT, nano_cpu_atomic_idle) pop_s blink #endif - enter_tickless_idle - ld r1, [nano_cpu_sleep_mode] or r1, r1, (1 << 4) /* set IRQ-enabled bit */ sleep r1