You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by ac...@apache.org on 2021/09/13 20:01:58 UTC
[incubator-nuttx] branch master updated: xtensa/irq.h: Fixes the
routine that clears the processor interrupt
This is an automated email from the ASF dual-hosted git repository.
acassis pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git
The following commit(s) were added to refs/heads/master by this push:
new 83a9c2b xtensa/irq.h: Fixes the routine that clears the processor interrupt
83a9c2b is described below
commit 83a9c2b24b48b46c22e6e7d32478188bdd0ce2de
Author: Sara Souza <sa...@espressif.com>
AuthorDate: Mon Sep 13 10:50:46 2021 -0300
xtensa/irq.h: Fixes the routine that clears the processor interrupt
---
arch/xtensa/include/irq.h | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/arch/xtensa/include/irq.h b/arch/xtensa/include/irq.h
index d06e06f..f6489cb 100644
--- a/arch/xtensa/include/irq.h
+++ b/arch/xtensa/include/irq.h
@@ -281,7 +281,9 @@ static inline void xtensa_intclear(uint32_t mask)
__asm__ __volatile__
(
"wsr %0, INTCLEAR\n"
- : "=r"(mask) : :
+ :
+ : "r"(mask)
+ :
);
}