Module: xenomai-forge Branch: next Commit: 484d5ecb179d26647ff286687a8776bb3dce9aab URL: http://git.xenomai.org/?p=xenomai-forge.git;a=commit;h=484d5ecb179d26647ff286687a8776bb3dce9aab
Author: Philippe Gerum <r...@xenomai.org> Date: Tue Jun 3 16:27:22 2014 +0200 cobalt/x86: fix typo in stack protector code --- kernel/cobalt/arch/x86/thread.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/kernel/cobalt/arch/x86/thread.c b/kernel/cobalt/arch/x86/thread.c index 8e0aa88..946cf2b 100644 --- a/kernel/cobalt/arch/x86/thread.c +++ b/kernel/cobalt/arch/x86/thread.c @@ -42,7 +42,7 @@ #else /* !CONFIG_CC_STACKPROTECTOR */ -#define __CANARY_OUPUT +#define __CANARY_OUTPUT #define __CANARY_INPUT #define __CANARY_SWITCH @@ -90,7 +90,7 @@ static inline void do_switch_threads(struct xnarchtcb *out_tcb, #ifdef CONFIG_CC_STACKPROTECTOR -#define __CANARY_OUPUT \ +#define __CANARY_OUTPUT \ , [gs_canary] "=m" (irq_stack_union.stack_canary) #define __CANARY_INPUT \ @@ -104,7 +104,7 @@ static inline void do_switch_threads(struct xnarchtcb *out_tcb, #else /* !CONFIG_CC_STACKPROTECTOR */ -#define __CANARY_OUPUT +#define __CANARY_OUTPUT #define __CANARY_INPUT #define __CANARY_SWITCH @@ -129,7 +129,7 @@ static inline void do_switch_threads(struct xnarchtcb *out_tcb, "popfq\n\t" \ : "=S" (__rsi), "=D" (__rdi), "=a" (__rax), \ "=b" (__rbx), "=c" (__rcx), "=d" (__rdx) \ - __CANARY_OUPUT \ + __CANARY_OUTPUT \ : "0" (next), "1" (prev), "5" (p_rsp), "4" (n_rsp), \ "2" (p_rip), "3" (n_rip) \ __CANARY_INPUT \ _______________________________________________ Xenomai-git mailing list Xenomai-git@xenomai.org http://www.xenomai.org/mailman/listinfo/xenomai-git