Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 43051
b: refs/heads/master
c: 8e3de53
h: refs/heads/master
i:
  43049: 3a9b79d
  43047: 2082ed4
v: v3
  • Loading branch information
Albert Cahalan authored and Andi Kleen committed Dec 7, 2006
1 parent 1f07724 commit bc737d6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: b026872601976f666bae77b609dc490d1834bf77
refs/heads/master: 8e3de538eec95b57a5b86038988451c38ba83f7e
5 changes: 5 additions & 0 deletions trunk/arch/x86_64/ia32/ia32_signal.c
Original file line number Diff line number Diff line change
Expand Up @@ -584,6 +584,11 @@ int ia32_setup_rt_frame(int sig, struct k_sigaction *ka, siginfo_t *info,
regs->rdx = (unsigned long) &frame->info;
regs->rcx = (unsigned long) &frame->uc;

/* Make -mregparm=3 work */
regs->rax = sig;
regs->rdx = (unsigned long) &frame->info;
regs->rcx = (unsigned long) &frame->uc;

asm volatile("movl %0,%%ds" :: "r" (__USER32_DS));
asm volatile("movl %0,%%es" :: "r" (__USER32_DS));

Expand Down

0 comments on commit bc737d6

Please sign in to comment.