include: arch: x86: added missing parenthesis
- added missing parenthesis around macro argument expansion Signed-off-by: frei tycho <tfrei@baumer.com>
This commit is contained in:
parent
bdfb6afe70
commit
18fd294b5c
|
@ -219,7 +219,7 @@ static ALWAYS_INLINE int sys_test_and_clear_bit(mem_addr_t addr,
|
|||
extern unsigned char _irq_to_interrupt_vector[];
|
||||
|
||||
#define Z_IRQ_TO_INTERRUPT_VECTOR(irq) \
|
||||
((unsigned int) _irq_to_interrupt_vector[irq])
|
||||
((unsigned int) _irq_to_interrupt_vector[(irq)])
|
||||
|
||||
|
||||
#endif /* _ASMLANGUAGE */
|
||||
|
|
Loading…
Reference in New Issue