arch: Fixed typo in header gates

Many of the exception.h files from various arch directories have a typo in
the header gate e.g. ZEPHYR_INCLUDE_ARCH_MIPS_EXPCEPTION_H_ .

This patch corrects the issue by substituting EXPCEPTION for EXCEPTION.

Signed-off-by: Joel Holdsworth <jholdsworth@nvidia.com>
This commit is contained in:
Joel Holdsworth 2025-01-14 17:30:15 -08:00 committed by Benjamin Cabé
parent f0cdaace22
commit fafef7b83e
6 changed files with 18 additions and 18 deletions

View File

@ -6,8 +6,8 @@
* SPDX-License-Identifier: Apache-2.0
*/
#ifndef ZEPHYR_INCLUDE_ARCH_MIPS_EXPCEPTION_H_
#define ZEPHYR_INCLUDE_ARCH_MIPS_EXPCEPTION_H_
#ifndef ZEPHYR_INCLUDE_ARCH_MIPS_EXCEPTION_H_
#define ZEPHYR_INCLUDE_ARCH_MIPS_EXCEPTION_H_
#ifndef _ASMLANGUAGE
#include <zephyr/types.h>
@ -56,4 +56,4 @@ struct arch_esf {
#endif /* _ASMLANGUAGE */
#endif /* ZEPHYR_INCLUDE_ARCH_MIPS_EXPCEPTION_H_ */
#endif /* ZEPHYR_INCLUDE_ARCH_MIPS_EXCEPTION_H_ */

View File

@ -4,8 +4,8 @@
* SPDX-License-Identifier: Apache-2.0
*/
#ifndef ZEPHYR_INCLUDE_ARCH_NIOS2_EXPCEPTION_H_
#define ZEPHYR_INCLUDE_ARCH_NIOS2_EXPCEPTION_H_
#ifndef ZEPHYR_INCLUDE_ARCH_NIOS2_EXCEPTION_H_
#define ZEPHYR_INCLUDE_ARCH_NIOS2_EXCEPTION_H_
#ifndef _ASMLANGUAGE
#include <zephyr/types.h>
@ -41,4 +41,4 @@ struct arch_esf {
#endif /* _ASMLANGUAGE */
#endif /* ZEPHYR_INCLUDE_ARCH_NIOS2_EXPCEPTION_H_ */
#endif /* ZEPHYR_INCLUDE_ARCH_NIOS2_EXCEPTION_H_ */

View File

@ -5,8 +5,8 @@
* SPDX-License-Identifier: Apache-2.0
*/
#ifndef ZEPHYR_INCLUDE_ARCH_POSIX_EXPCEPTION_H_
#define ZEPHYR_INCLUDE_ARCH_POSIX_EXPCEPTION_H_
#ifndef ZEPHYR_INCLUDE_ARCH_POSIX_EXCEPTION_H_
#define ZEPHYR_INCLUDE_ARCH_POSIX_EXCEPTION_H_
#ifndef _ASMLANGUAGE
#include <zephyr/types.h>
@ -25,4 +25,4 @@ struct arch_esf {
#endif /* _ASMLANGUAGE */
#endif /* ZEPHYR_INCLUDE_ARCH_POSIX_EXPCEPTION_H_ */
#endif /* ZEPHYR_INCLUDE_ARCH_POSIX_EXCEPTION_H_ */

View File

@ -4,8 +4,8 @@
* SPDX-License-Identifier: Apache-2.0
*/
#ifndef ZEPHYR_INCLUDE_ARCH_SPARC_EXPCEPTION_H_
#define ZEPHYR_INCLUDE_ARCH_SPARC_EXPCEPTION_H_
#ifndef ZEPHYR_INCLUDE_ARCH_SPARC_EXCEPTION_H_
#define ZEPHYR_INCLUDE_ARCH_SPARC_EXCEPTION_H_
#ifndef _ASMLANGUAGE
#include <zephyr/types.h>
@ -31,4 +31,4 @@ struct arch_esf {
#endif /* _ASMLANGUAGE */
#endif /* ZEPHYR_INCLUDE_ARCH_SPARC_EXPCEPTION_H_ */
#endif /* ZEPHYR_INCLUDE_ARCH_SPARC_EXCEPTION_H_ */

View File

@ -4,8 +4,8 @@
* SPDX-License-Identifier: Apache-2.0
*/
#ifndef ZEPHYR_INCLUDE_ARCH_X86_IA32_EXPCEPTION_H_
#define ZEPHYR_INCLUDE_ARCH_X86_IA32_EXPCEPTION_H_
#ifndef ZEPHYR_INCLUDE_ARCH_X86_IA32_EXCEPTION_H_
#define ZEPHYR_INCLUDE_ARCH_X86_IA32_EXCEPTION_H_
#ifndef _ASMLANGUAGE
#include <zephyr/types.h>
@ -67,4 +67,4 @@ struct _x86_syscall_stack_frame {
#endif /* _ASMLANGUAGE */
#endif /* ZEPHYR_INCLUDE_ARCH_X86_IA32_EXPCEPTION_H_ */
#endif /* ZEPHYR_INCLUDE_ARCH_X86_IA32_EXCEPTION_H_ */

View File

@ -3,8 +3,8 @@
* SPDX-License-Identifier: Apache-2.0
*/
#ifndef ZEPHYR_INCLUDE_ARCH_X86_INTEL64_EXPCEPTION_H_
#define ZEPHYR_INCLUDE_ARCH_X86_INTEL64_EXPCEPTION_H_
#ifndef ZEPHYR_INCLUDE_ARCH_X86_INTEL64_EXCEPTION_H_
#define ZEPHYR_INCLUDE_ARCH_X86_INTEL64_EXCEPTION_H_
#ifndef _ASMLANGUAGE
#include <zephyr/arch/x86/intel64/thread.h>
@ -72,4 +72,4 @@ struct x86_ssf {
#endif /* _ASMLANGUAGE */
#endif /* ZEPHYR_INCLUDE_ARCH_X86_INTEL64_EXPCEPTION_H_ */
#endif /* ZEPHYR_INCLUDE_ARCH_X86_INTEL64_EXCEPTION_H_ */