From 699880a430fcd9a55bb49e566f8ca48a10ec9800 Mon Sep 17 00:00:00 2001 From: Anas Nashif Date: Fri, 8 Dec 2023 09:21:58 -0500 Subject: [PATCH] arch: arm: cortex_m: rename expection header Rename exception header and use the same name as all architecture ports. Signed-off-by: Anas Nashif --- arch/arm/include/cortex_m/{exc.h => exception.h} | 0 arch/arm/include/kernel_arch_data.h | 2 +- include/zephyr/arch/arm/cortex_m/{exc.h => exception.h} | 0 include/zephyr/arch/arm/exception.h | 2 +- soc/arm/nxp_imx/rt6xx/soc.c | 2 +- soc/arm/nxp_lpc/lpc54xxx/soc.c | 2 +- soc/arm/nxp_lpc/lpc55xxx/soc.c | 2 +- 7 files changed, 5 insertions(+), 5 deletions(-) rename arch/arm/include/cortex_m/{exc.h => exception.h} (100%) rename include/zephyr/arch/arm/cortex_m/{exc.h => exception.h} (100%) diff --git a/arch/arm/include/cortex_m/exc.h b/arch/arm/include/cortex_m/exception.h similarity index 100% rename from arch/arm/include/cortex_m/exc.h rename to arch/arm/include/cortex_m/exception.h diff --git a/arch/arm/include/kernel_arch_data.h b/arch/arm/include/kernel_arch_data.h index 81edd3ddfdb..5ad19db8f84 100644 --- a/arch/arm/include/kernel_arch_data.h +++ b/arch/arm/include/kernel_arch_data.h @@ -26,7 +26,7 @@ #if defined(CONFIG_CPU_CORTEX_M) #include -#include +#include #elif defined(CONFIG_CPU_AARCH32_CORTEX_R) || defined(CONFIG_CPU_AARCH32_CORTEX_A) #include #include diff --git a/include/zephyr/arch/arm/cortex_m/exc.h b/include/zephyr/arch/arm/cortex_m/exception.h similarity index 100% rename from include/zephyr/arch/arm/cortex_m/exc.h rename to include/zephyr/arch/arm/cortex_m/exception.h diff --git a/include/zephyr/arch/arm/exception.h b/include/zephyr/arch/arm/exception.h index 62a94ce1b02..7a25f4b2067 100644 --- a/include/zephyr/arch/arm/exception.h +++ b/include/zephyr/arch/arm/exception.h @@ -16,7 +16,7 @@ #define ZEPHYR_INCLUDE_ARCH_ARM_AARCH32_EXC_H_ #if defined(CONFIG_CPU_CORTEX_M) -#include +#include #elif defined(CONFIG_CPU_AARCH32_CORTEX_A) || defined(CONFIG_CPU_AARCH32_CORTEX_R) #include #else diff --git a/soc/arm/nxp_imx/rt6xx/soc.c b/soc/arm/nxp_imx/rt6xx/soc.c index 2d4eab6854d..165cf92e234 100644 --- a/soc/arm/nxp_imx/rt6xx/soc.c +++ b/soc/arm/nxp_imx/rt6xx/soc.c @@ -19,7 +19,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/soc/arm/nxp_lpc/lpc54xxx/soc.c b/soc/arm/nxp_lpc/lpc54xxx/soc.c index bbc689dbc68..20f2022cd56 100644 --- a/soc/arm/nxp_lpc/lpc54xxx/soc.c +++ b/soc/arm/nxp_lpc/lpc54xxx/soc.c @@ -19,7 +19,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/soc/arm/nxp_lpc/lpc55xxx/soc.c b/soc/arm/nxp_lpc/lpc55xxx/soc.c index 6730c6cfcff..a26aae34d9b 100644 --- a/soc/arm/nxp_lpc/lpc55xxx/soc.c +++ b/soc/arm/nxp_lpc/lpc55xxx/soc.c @@ -18,7 +18,7 @@ #include #include #include -#include +#include #include #include #include