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/ia64 | |
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/ia64')
-rw-r--r-- | sys/ia64/ia64/trap.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/ia64/ia64/trap.c b/sys/ia64/ia64/trap.c index 30f43f5..3fdf9a6 100644 --- a/sys/ia64/ia64/trap.c +++ b/sys/ia64/ia64/trap.c @@ -740,7 +740,7 @@ trap(int vector, int imm, struct trapframe *framep) #ifdef DEBUG printtrap(vector, imm, framep, 1, user); #endif - trapsignal(p, i, ucode); + trapsignal(td, i, ucode); out: if (user) { userret(td, framep, sticks); @@ -1048,7 +1048,7 @@ ia32_syscall(struct trapframe *framep) */ if ((orig_eflags & PSL_T) && !(orig_eflags & PSL_VM)) { ia64_set_eflag(ia64_get_eflag() & ~PSL_T); - trapsignal(p, SIGTRAP, 0); + trapsignal(td, SIGTRAP, 0); } /* |