Skip to content

Commit 3d37868

Browse files
benwrsnashif
authored andcommitted
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 <[email protected]>
1 parent 98a001e commit 3d37868

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/arm/core/irq_manage.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ void _irq_priority_set(unsigned int irq, unsigned int prio, uint32_t flags)
100100
* Our policy is to express priority levels with special properties
101101
* via flags
102102
*/
103-
if (flags | IRQ_ZERO_LATENCY) {
103+
if (flags & IRQ_ZERO_LATENCY) {
104104
prio = 2;
105105
} else {
106106
prio += IRQ_PRIORITY_OFFSET;

0 commit comments

Comments
 (0)