mirror of
https://github.com/apache/nuttx.git
synced 2026-10-16 18:49:05 +00:00
xtensa/irq.h: Fixes the routine that clears the processor interrupt
This commit is contained in:
parent
17bfa18679
commit
83a9c2b24b
1 changed files with 3 additions and 1 deletions
|
|
@ -281,7 +281,9 @@ static inline void xtensa_intclear(uint32_t mask)
|
|||
__asm__ __volatile__
|
||||
(
|
||||
"wsr %0, INTCLEAR\n"
|
||||
: "=r"(mask) : :
|
||||
:
|
||||
: "r"(mask)
|
||||
:
|
||||
);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue