xtensa/irq.h: Fixes the routine that clears the processor interrupt

This commit is contained in:
Sara Souza 2021-09-13 10:50:46 -03:00 committed by Alan Carvalho de Assis
parent 17bfa18679
commit 83a9c2b24b
1 changed files with 3 additions and 1 deletions

View File

@ -281,7 +281,9 @@ static inline void xtensa_intclear(uint32_t mask)
__asm__ __volatile__
(
"wsr %0, INTCLEAR\n"
: "=r"(mask) : :
:
: "r"(mask)
:
);
}