diff options
author | jeff <jeff@FreeBSD.org> | 2003-03-31 22:02:38 +0000 |
---|---|---|
committer | jeff <jeff@FreeBSD.org> | 2003-03-31 22:02:38 +0000 |
commit | 4a3718fb251369224e283ab56a6a157fc2cc75ed (patch) | |
tree | 9692813d1ffe9f9b0937d412c615f0a0ddfd7eb8 /sys/kern/subr_trap.c | |
parent | 848087b9b0b45a29daa2a3f8acf9cb8d797e8b51 (diff) | |
download | FreeBSD-src-4a3718fb251369224e283ab56a6a157fc2cc75ed.zip FreeBSD-src-4a3718fb251369224e283ab56a6a157fc2cc75ed.tar.gz |
- Change trapsignal() to accept a thread and not a proc.
- Change all consumers to pass in a thread.
Right now this does not cause any functional changes but it will be important
later when signals can be delivered to specific threads.
Diffstat (limited to 'sys/kern/subr_trap.c')
-rw-r--r-- | sys/kern/subr_trap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/subr_trap.c b/sys/kern/subr_trap.c index fe5f1e4..7fe4883 100644 --- a/sys/kern/subr_trap.c +++ b/sys/kern/subr_trap.c @@ -209,7 +209,7 @@ ast(struct trapframe *framep) PCB_NPXTRAP); ucode = npxtrap(); if (ucode != -1) { - trapsignal(p, SIGFPE, ucode); + trapsignal(td, SIGFPE, ucode); } } #endif |