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 2023/01/27 16:22:00 UTC
[nuttx] 03/03: Fix chip/intel64_handlers.c:136: error: "SIGFPE" redefined [-Werror]
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/nuttx.git
commit ac3a6678605a4bacea14e93965c581fbffa9551c
Author: Xiang Xiao <xi...@xiaomi.com>
AuthorDate: Fri Jan 27 20:05:49 2023 +0800
Fix chip/intel64_handlers.c:136: error: "SIGFPE" redefined [-Werror]
Signed-off-by: Xiang Xiao <xi...@xiaomi.com>
---
arch/x86_64/src/intel64/intel64_handlers.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/arch/x86_64/src/intel64/intel64_handlers.c b/arch/x86_64/src/intel64/intel64_handlers.c
index 4e5295a61f..61ddbfaef2 100644
--- a/arch/x86_64/src/intel64/intel64_handlers.c
+++ b/arch/x86_64/src/intel64/intel64_handlers.c
@@ -133,8 +133,6 @@ static uint64_t *common_handler(int irq, uint64_t *regs)
*
****************************************************************************/
-#define SIGFPE 8
-
uint64_t *isr_handler(uint64_t *regs, uint64_t irq)
{
#ifdef CONFIG_SUPPRESS_INTERRUPTS