From d8a2084c057d6116b81a93d334e00f3ba1df67bf Mon Sep 17 00:00:00 2001 From: guozhanxin Date: Tue, 26 Sep 2023 17:37:10 +0800 Subject: [PATCH] [libcpu/cortex-a] Fix the problem of circular include of cpuport.h --- libcpu/arm/cortex-a/backtrace.h | 1 + libcpu/arm/cortex-a/cpuport.h | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/libcpu/arm/cortex-a/backtrace.h b/libcpu/arm/cortex-a/backtrace.h index a6ed226094..c82ef66fc0 100644 --- a/libcpu/arm/cortex-a/backtrace.h +++ b/libcpu/arm/cortex-a/backtrace.h @@ -2,6 +2,7 @@ #define __BACKTRACE_H #ifndef __ASSEMBLY__ +#include #include /* Unwind reason code according the the ARM EABI documents */ diff --git a/libcpu/arm/cortex-a/cpuport.h b/libcpu/arm/cortex-a/cpuport.h index 2cb80f0d33..5aec5a84bc 100644 --- a/libcpu/arm/cortex-a/cpuport.h +++ b/libcpu/arm/cortex-a/cpuport.h @@ -10,8 +10,6 @@ #ifndef CPUPORT_H__ #define CPUPORT_H__ -#include - /* the exception stack without VFP registers */ struct rt_hw_exp_stack {