diff options
Diffstat (limited to 'arch/x86/ia32/ia32_signal.c')
-rw-r--r-- | arch/x86/ia32/ia32_signal.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/arch/x86/ia32/ia32_signal.c b/arch/x86/ia32/ia32_signal.c index 47ddc23f4f54..e2d0bc779bf7 100644 --- a/arch/x86/ia32/ia32_signal.c +++ b/arch/x86/ia32/ia32_signal.c | |||
@@ -427,12 +427,10 @@ int ia32_setup_frame(int sig, struct k_sigaction *ka, | |||
427 | u16 poplmovl; | 427 | u16 poplmovl; |
428 | u32 val; | 428 | u32 val; |
429 | u16 int80; | 429 | u16 int80; |
430 | u16 pad; | ||
431 | } __attribute__((packed)) code = { | 430 | } __attribute__((packed)) code = { |
432 | 0xb858, /* popl %eax ; movl $...,%eax */ | 431 | 0xb858, /* popl %eax ; movl $...,%eax */ |
433 | __NR_ia32_sigreturn, | 432 | __NR_ia32_sigreturn, |
434 | 0x80cd, /* int $0x80 */ | 433 | 0x80cd, /* int $0x80 */ |
435 | 0, | ||
436 | }; | 434 | }; |
437 | 435 | ||
438 | frame = get_sigframe(ka, regs, sizeof(*frame), &fpstate); | 436 | frame = get_sigframe(ka, regs, sizeof(*frame), &fpstate); |
@@ -508,8 +506,7 @@ int ia32_setup_rt_frame(int sig, struct k_sigaction *ka, siginfo_t *info, | |||
508 | u8 movl; | 506 | u8 movl; |
509 | u32 val; | 507 | u32 val; |
510 | u16 int80; | 508 | u16 int80; |
511 | u16 pad; | 509 | u8 pad; |
512 | u8 pad2; | ||
513 | } __attribute__((packed)) code = { | 510 | } __attribute__((packed)) code = { |
514 | 0xb8, | 511 | 0xb8, |
515 | __NR_ia32_rt_sigreturn, | 512 | __NR_ia32_rt_sigreturn, |