arm: fix bug when Zero Latency Interrupts are enabled
An IRQ would always register as a ZIL interrupt. Change-Id: If82a85f472a60512745652aacc7e8b7dfacaa268 Signed-off-by: Benjamin Walsh <benjamin.walsh@windriver.com>
This commit is contained in:
parent
6741561ae4
commit
8641c9e6a5
1 changed files with 1 additions and 1 deletions
|
@ -100,7 +100,7 @@ void _irq_priority_set(unsigned int irq, unsigned int prio, uint32_t flags)
|
|||
* Our policy is to express priority levels with special properties
|
||||
* via flags
|
||||
*/
|
||||
if (flags | IRQ_ZERO_LATENCY) {
|
||||
if (flags & IRQ_ZERO_LATENCY) {
|
||||
prio = 2;
|
||||
} else {
|
||||
prio += IRQ_PRIORITY_OFFSET;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue