mirror of
https://github.com/apache/nuttx.git
synced 2026-06-08 01:42:58 +08:00
xtensa/irq.h: Fixes the routine that clears the processor interrupt
This commit is contained in:
committed by
Alan Carvalho de Assis
parent
17bfa18679
commit
83a9c2b24b
@@ -281,7 +281,9 @@ static inline void xtensa_intclear(uint32_t mask)
|
||||
__asm__ __volatile__
|
||||
(
|
||||
"wsr %0, INTCLEAR\n"
|
||||
: "=r"(mask) : :
|
||||
:
|
||||
: "r"(mask)
|
||||
:
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user