ARCv2: Use the default irq priority for idle sleep
authorVineet Gupta <vgupta@synopsys.com>
Wed, 17 Jun 2015 11:33:18 +0000 (17:03 +0530)
committerVineet Gupta <vgupta@synopsys.com>
Mon, 16 Nov 2015 08:47:06 +0000 (14:17 +0530)
commitb8628f3fe41c999b003c541c078312fcead960d6
tree66e63b963afc3e853def062250512d6e92eae185
parent512b5b89b9ef90e7a6475513fa9402e55b0e831c
ARCv2: Use the default irq priority for idle sleep

Although kernel doesn't support the multiple IRQ priority levels provided
by HS38x core intc yet, ensure that the default prio value is used
anyways by relevant code.

SLEEP insn needs to be provided the IRQ priority level which can
interrupt it. This needs to be the default level which maynot
necessarily be 0 as assumed by current code.

This change allows a kernel with ARCV2_IRQ_DEF_PRIO = 1 to boot fine.

Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
arch/arc/include/asm/irqflags-arcv2.h