irq: _ARC_V2_DEF_IRQ_LEVEL should be set to last legal priority
Set _ARC_V2_DEF_IRQ_LEVEL to the last legal priority value, and not 15. The last legal value is: (CONFIG_NUM_IRQ_PRIO_LEVELS-1). This is safer because we don't want priorites not configured to be enabled. Change-Id: I1689cc00aa7e707a204d16ec17d7f396566e8638 Signed-off-by: Chuck Jordan <cjordan@synopsys.com>
This commit is contained in:
parent
6ab9701330
commit
8e5c813a24
@ -35,8 +35,8 @@ extern "C" {
|
||||
#define _ARC_V2_AUX_IRQ_CTRL_16_REGS 8
|
||||
#define _ARC_V2_AUX_IRQ_CTRL_32_REGS 16
|
||||
|
||||
#define _ARC_V2_DEF_IRQ_LEVEL 15
|
||||
#define _ARC_V2_WAKE_IRQ_LEVEL 15
|
||||
#define _ARC_V2_DEF_IRQ_LEVEL (CONFIG_NUM_IRQ_PRIO_LEVELS-1)
|
||||
#define _ARC_V2_WAKE_IRQ_LEVEL _ARC_V2_DEF_IRQ_LEVEL
|
||||
|
||||
#ifndef _ASMLANGUAGE
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user