arch/arm: Don't include arch/arch.h in include/irq.h

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
Xiang Xiao 2022-07-02 11:26:26 +08:00 committed by Petro Karashchenko
parent 9ab3417882
commit fcc48c2254
4 changed files with 4 additions and 3 deletions

View File

@ -34,7 +34,6 @@
#ifndef __ASSEMBLY__ #ifndef __ASSEMBLY__
# include <stdint.h> # include <stdint.h>
# include <arch/arch.h>
#endif #endif
/**************************************************************************** /****************************************************************************

View File

@ -34,7 +34,6 @@
#ifndef __ASSEMBLY__ #ifndef __ASSEMBLY__
# include <stdint.h> # include <stdint.h>
# include <arch/arch.h>
#endif #endif
/**************************************************************************** /****************************************************************************

View File

@ -29,12 +29,13 @@
* Included Files * Included Files
****************************************************************************/ ****************************************************************************/
#include <nuttx/config.h>
#ifndef __ASSEMBLY__ #ifndef __ASSEMBLY__
# include <stdint.h> # include <stdint.h>
# include <stdbool.h> # include <stdbool.h>
# include <arch/arch.h> # include <arch/arch.h>
# include <time.h> # include <time.h>
# include <nuttx/config.h>
#endif #endif
/**************************************************************************** /****************************************************************************

View File

@ -43,6 +43,8 @@
#include <nuttx/fs/fs.h> #include <nuttx/fs/fs.h>
#include <nuttx/net/net.h> #include <nuttx/net/net.h>
#include <arch/arch.h>
/**************************************************************************** /****************************************************************************
* Pre-processor Definitions * Pre-processor Definitions
****************************************************************************/ ****************************************************************************/