From 4a3718fb251369224e283ab56a6a157fc2cc75ed Mon Sep 17 00:00:00 2001 From: jeff Date: Mon, 31 Mar 2003 22:02:38 +0000 Subject: - 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. --- sys/kern/subr_trap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/kern/subr_trap.c') 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 -- cgit v1.1