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/powerpc | |
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/powerpc')
-rw-r--r-- | sys/powerpc/aim/trap.c | 2 | ||||
-rw-r--r-- | sys/powerpc/powerpc/trap.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/powerpc/aim/trap.c b/sys/powerpc/aim/trap.c index cd4a50b..95dea63 100644 --- a/sys/powerpc/aim/trap.c +++ b/sys/powerpc/aim/trap.c @@ -258,7 +258,7 @@ trap(struct trapframe *frame) if (sig != 0) { if (p->p_sysent->sv_transtrap != NULL) sig = (p->p_sysent->sv_transtrap)(sig, type); - trapsignal(p, sig, ucode); + trapsignal(td, sig, ucode); } userret(td, frame, sticks); diff --git a/sys/powerpc/powerpc/trap.c b/sys/powerpc/powerpc/trap.c index cd4a50b..95dea63 100644 --- a/sys/powerpc/powerpc/trap.c +++ b/sys/powerpc/powerpc/trap.c @@ -258,7 +258,7 @@ trap(struct trapframe *frame) if (sig != 0) { if (p->p_sysent->sv_transtrap != NULL) sig = (p->p_sysent->sv_transtrap)(sig, type); - trapsignal(p, sig, ucode); + trapsignal(td, sig, ucode); } userret(td, frame, sticks); |