ARC: [intc-compact] simplify code for 2 priority levels
authorVineet Gupta <vgupta@synopsys.com>
Mon, 30 May 2016 13:51:22 +0000 (19:21 +0530)
committerVineet Gupta <vgupta@synopsys.com>
Mon, 30 May 2016 17:15:04 +0000 (22:45 +0530)
commit60f2b4b8af548150cc56bf6fd213e47897964794
tree6a2e3317963e0315259707df98f3fd0b12ce1f53
parent49acadff2a0cb4f7ff4efe0fb6c23f5fad81a3b3
ARC: [intc-compact] simplify code for 2 priority levels

ARC700 support for 2 interrupt priorities historically allowed even slow
perpherals such as emac and uart to setup high priority interrupts
which was wrong from the beginning as they could possibly delay the more
critical timer interrupt.

The hardware support for 2 level interrupts in ARCompact is less than
ideal anyways (judging from the "hacks" in low level entry code and thus
is not used in productions systems I know of.

So reduce the scope of this to timer only, thereby reducing a bunch of
complexity.

Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
arch/arc/Kconfig
arch/arc/kernel/entry-compact.S
arch/arc/kernel/intc-compact.c