Skip to content

Commit d8a2084

Browse files
committed
[libcpu/cortex-a] Fix the problem of circular include of cpuport.h
1 parent 6d506dc commit d8a2084

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

libcpu/arm/cortex-a/backtrace.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
#define __BACKTRACE_H
33

44
#ifndef __ASSEMBLY__
5+
#include <rtthread.h>
56
#include <cpuport.h>
67

78
/* Unwind reason code according the the ARM EABI documents */

libcpu/arm/cortex-a/cpuport.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@
1010
#ifndef CPUPORT_H__
1111
#define CPUPORT_H__
1212

13-
#include <rtthread.h>
14-
1513
/* the exception stack without VFP registers */
1614
struct rt_hw_exp_stack
1715
{

0 commit comments

Comments
 (0)