Skip to content

Commit fafef7b

Browse files
jholkartben
authored andcommitted
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 <[email protected]>
1 parent f0cdaac commit fafef7b

File tree

6 files changed

+18
-18
lines changed

6 files changed

+18
-18
lines changed

include/zephyr/arch/mips/exception.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
* SPDX-License-Identifier: Apache-2.0
77
*/
88

9-
#ifndef ZEPHYR_INCLUDE_ARCH_MIPS_EXPCEPTION_H_
10-
#define ZEPHYR_INCLUDE_ARCH_MIPS_EXPCEPTION_H_
9+
#ifndef ZEPHYR_INCLUDE_ARCH_MIPS_EXCEPTION_H_
10+
#define ZEPHYR_INCLUDE_ARCH_MIPS_EXCEPTION_H_
1111

1212
#ifndef _ASMLANGUAGE
1313
#include <zephyr/types.h>
@@ -56,4 +56,4 @@ struct arch_esf {
5656

5757
#endif /* _ASMLANGUAGE */
5858

59-
#endif /* ZEPHYR_INCLUDE_ARCH_MIPS_EXPCEPTION_H_ */
59+
#endif /* ZEPHYR_INCLUDE_ARCH_MIPS_EXCEPTION_H_ */

include/zephyr/arch/nios2/exception.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
* SPDX-License-Identifier: Apache-2.0
55
*/
66

7-
#ifndef ZEPHYR_INCLUDE_ARCH_NIOS2_EXPCEPTION_H_
8-
#define ZEPHYR_INCLUDE_ARCH_NIOS2_EXPCEPTION_H_
7+
#ifndef ZEPHYR_INCLUDE_ARCH_NIOS2_EXCEPTION_H_
8+
#define ZEPHYR_INCLUDE_ARCH_NIOS2_EXCEPTION_H_
99

1010
#ifndef _ASMLANGUAGE
1111
#include <zephyr/types.h>
@@ -41,4 +41,4 @@ struct arch_esf {
4141

4242
#endif /* _ASMLANGUAGE */
4343

44-
#endif /* ZEPHYR_INCLUDE_ARCH_NIOS2_EXPCEPTION_H_ */
44+
#endif /* ZEPHYR_INCLUDE_ARCH_NIOS2_EXCEPTION_H_ */

include/zephyr/arch/posix/exception.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
* SPDX-License-Identifier: Apache-2.0
66
*/
77

8-
#ifndef ZEPHYR_INCLUDE_ARCH_POSIX_EXPCEPTION_H_
9-
#define ZEPHYR_INCLUDE_ARCH_POSIX_EXPCEPTION_H_
8+
#ifndef ZEPHYR_INCLUDE_ARCH_POSIX_EXCEPTION_H_
9+
#define ZEPHYR_INCLUDE_ARCH_POSIX_EXCEPTION_H_
1010

1111
#ifndef _ASMLANGUAGE
1212
#include <zephyr/types.h>
@@ -25,4 +25,4 @@ struct arch_esf {
2525

2626
#endif /* _ASMLANGUAGE */
2727

28-
#endif /* ZEPHYR_INCLUDE_ARCH_POSIX_EXPCEPTION_H_ */
28+
#endif /* ZEPHYR_INCLUDE_ARCH_POSIX_EXCEPTION_H_ */

include/zephyr/arch/sparc/exception.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
* SPDX-License-Identifier: Apache-2.0
55
*/
66

7-
#ifndef ZEPHYR_INCLUDE_ARCH_SPARC_EXPCEPTION_H_
8-
#define ZEPHYR_INCLUDE_ARCH_SPARC_EXPCEPTION_H_
7+
#ifndef ZEPHYR_INCLUDE_ARCH_SPARC_EXCEPTION_H_
8+
#define ZEPHYR_INCLUDE_ARCH_SPARC_EXCEPTION_H_
99

1010
#ifndef _ASMLANGUAGE
1111
#include <zephyr/types.h>
@@ -31,4 +31,4 @@ struct arch_esf {
3131

3232
#endif /* _ASMLANGUAGE */
3333

34-
#endif /* ZEPHYR_INCLUDE_ARCH_SPARC_EXPCEPTION_H_ */
34+
#endif /* ZEPHYR_INCLUDE_ARCH_SPARC_EXCEPTION_H_ */

include/zephyr/arch/x86/ia32/exception.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
* SPDX-License-Identifier: Apache-2.0
55
*/
66

7-
#ifndef ZEPHYR_INCLUDE_ARCH_X86_IA32_EXPCEPTION_H_
8-
#define ZEPHYR_INCLUDE_ARCH_X86_IA32_EXPCEPTION_H_
7+
#ifndef ZEPHYR_INCLUDE_ARCH_X86_IA32_EXCEPTION_H_
8+
#define ZEPHYR_INCLUDE_ARCH_X86_IA32_EXCEPTION_H_
99

1010
#ifndef _ASMLANGUAGE
1111
#include <zephyr/types.h>
@@ -67,4 +67,4 @@ struct _x86_syscall_stack_frame {
6767

6868
#endif /* _ASMLANGUAGE */
6969

70-
#endif /* ZEPHYR_INCLUDE_ARCH_X86_IA32_EXPCEPTION_H_ */
70+
#endif /* ZEPHYR_INCLUDE_ARCH_X86_IA32_EXCEPTION_H_ */

include/zephyr/arch/x86/intel64/exception.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
* SPDX-License-Identifier: Apache-2.0
44
*/
55

6-
#ifndef ZEPHYR_INCLUDE_ARCH_X86_INTEL64_EXPCEPTION_H_
7-
#define ZEPHYR_INCLUDE_ARCH_X86_INTEL64_EXPCEPTION_H_
6+
#ifndef ZEPHYR_INCLUDE_ARCH_X86_INTEL64_EXCEPTION_H_
7+
#define ZEPHYR_INCLUDE_ARCH_X86_INTEL64_EXCEPTION_H_
88

99
#ifndef _ASMLANGUAGE
1010
#include <zephyr/arch/x86/intel64/thread.h>
@@ -72,4 +72,4 @@ struct x86_ssf {
7272

7373
#endif /* _ASMLANGUAGE */
7474

75-
#endif /* ZEPHYR_INCLUDE_ARCH_X86_INTEL64_EXPCEPTION_H_ */
75+
#endif /* ZEPHYR_INCLUDE_ARCH_X86_INTEL64_EXCEPTION_H_ */

0 commit comments

Comments
 (0)