diff options
| author | John Baldwin <jhb@FreeBSD.org> | 2020-01-06 18:02:02 +0000 |
|---|---|---|
| committer | John Baldwin <jhb@FreeBSD.org> | 2020-01-06 18:02:02 +0000 |
| commit | 9f669cf0a2f0e9221fc107e960fc386961c5f15a (patch) | |
| tree | 8a720779c578c8583af90478cb458d827251eee0 /sys/mips | |
| parent | 20723f186a07f208171524ccb38726e5a336e1cb (diff) | |
Notes
Diffstat (limited to 'sys/mips')
| -rw-r--r-- | sys/mips/mips/pm_machdep.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/mips/mips/pm_machdep.c b/sys/mips/mips/pm_machdep.c index 606269456e0a..6d8fa7df6d65 100644 --- a/sys/mips/mips/pm_machdep.c +++ b/sys/mips/mips/pm_machdep.c @@ -147,12 +147,10 @@ sendsig(sig_t catcher, ksiginfo_t *ksi, sigset_t *mask) /* fill siginfo structure */ sf.sf_si = ksi->ksi_info; sf.sf_si.si_signo = sig; - sf.sf_si.si_code = ksi->ksi_code; - sf.sf_si.si_addr = (void*)(intptr_t)regs->badvaddr; } else { /* Old FreeBSD-style arguments. */ regs->a1 = ksi->ksi_code; - regs->a3 = regs->badvaddr; + regs->a3 = (uintptr_t)ksi->ksi_addr; /* sf.sf_ahu.sf_handler = catcher; */ } |
