From 67bff485013d9da568cd0454c8767b2b698847a0 Mon Sep 17 00:00:00 2001 From: Ulf Magnusson Date: Mon, 25 Feb 2019 15:23:21 +0100 Subject: [PATCH] arch: arc: Remove ref. to undefined sym. CONFIG_FIRQ_NO_LPCC This Kconfig symbol has never been defined in the Git history. Signed-off-by: Ulf Magnusson --- arch/arc/core/fast_irq.S | 4 ---- 1 file changed, 4 deletions(-) diff --git a/arch/arc/core/fast_irq.S b/arch/arc/core/fast_irq.S index 79438167a6c..41c969d2a14 100644 --- a/arch/arc/core/fast_irq.S +++ b/arch/arc/core/fast_irq.S @@ -75,7 +75,6 @@ SECTION_FUNC(TEXT, _firq_enter) #endif #if CONFIG_RGF_NUM_BANKS != 1 -#ifndef CONFIG_FIRQ_NO_LPCC /* * Save LP_START/LP_COUNT/LP_END because called handler might use. * Save these in callee saved registers to avoid using memory. @@ -84,7 +83,6 @@ SECTION_FUNC(TEXT, _firq_enter) mov r23,lp_count lr r24, [_ARC_V2_LP_START] lr r25, [_ARC_V2_LP_END] -#endif #endif ld r1, [exc_nest_count] @@ -132,12 +130,10 @@ firq_nest: SECTION_FUNC(TEXT, _firq_exit) #if CONFIG_RGF_NUM_BANKS != 1 -#ifndef CONFIG_FIRQ_NO_LPCC /* restore lp_count, lp_start, lp_end from r23-r25 */ mov lp_count,r23 sr r24, [_ARC_V2_LP_START] sr r25, [_ARC_V2_LP_END] -#endif #endif /* check if we're a nested interrupt: if so, let the interrupted * interrupt handle the reschedule */