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/nuttx.git

commit 95ef6753ad26dfa66b32f1af0342f501f89ac8cf
Author: wangmingrong1 <[email protected]>
AuthorDate: Fri Aug 22 13:44:17 2025 +0800

    arm64/irq.h: Fix the issue of including incorrect order
    
    <nuttx/irq.h> will use the macros defined in <arch/chip/irq.h>, so the 
include order should be after it
    
    Signed-off-by: wangmingrong1 <[email protected]>
---
 arch/arm64/include/irq.h | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/arch/arm64/include/irq.h b/arch/arm64/include/irq.h
index fb08ce0df1b..3fae95b1ff3 100644
--- a/arch/arm64/include/irq.h
+++ b/arch/arm64/include/irq.h
@@ -40,14 +40,14 @@
 #  include <nuttx/macro.h>
 #endif
 
-/* Include NuttX-specific IRQ definitions */
-
-#include <nuttx/irq.h>
-
 /* Include chip-specific IRQ definitions (including IRQ numbers) */
 
 #include <arch/chip/irq.h>
 
+/* Include NuttX-specific IRQ definitions */
+
+#include <nuttx/irq.h>
+
 /****************************************************************************
  * Pre-processor Prototypes
  ****************************************************************************/

Reply via email to