You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by xi...@apache.org on 2022/09/21 17:35:10 UTC

[incubator-nuttx] branch master updated: arm/armv7-r: remove incorrect include header "addrenv.h"

This is an automated email from the ASF dual-hosted git repository.

xiaoxiang 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 de1ad746d8 arm/armv7-r: remove incorrect include header "addrenv.h"
de1ad746d8 is described below

commit de1ad746d888883fbb53fdc5f6a4c5b6d3fd868b
Author: chao an <an...@xiaomi.com>
AuthorDate: Wed Sep 21 21:57:35 2022 +0800

    arm/armv7-r: remove incorrect include header "addrenv.h"
    
    since armv7-r does not support kernel mode
    
    ./armv7-r/arm_syscall.c:36:10: fatal error: addrenv.h: No such file or directory
       36 | #include "addrenv.h"
          |          ^~~~~~~~~~~
    
    Signed-off-by: chao an <an...@xiaomi.com>
---
 arch/arm/src/armv7-r/arm_syscall.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/arch/arm/src/armv7-r/arm_syscall.c b/arch/arm/src/armv7-r/arm_syscall.c
index 720c3e8377..a46a7901b4 100644
--- a/arch/arm/src/armv7-r/arm_syscall.c
+++ b/arch/arm/src/armv7-r/arm_syscall.c
@@ -33,7 +33,6 @@
 #include <nuttx/arch.h>
 #include <nuttx/sched.h>
 
-#include "addrenv.h"
 #include "arm.h"
 #include "arm_internal.h"
 #include "signal/signal.h"