summaryrefslogtreecommitdiff
path: root/sys/arch/powerpc
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2007-04-01 09:29:28 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2007-04-01 09:29:28 +0000
commit171de86c8603a10d2e28d60eaedb900397f48697 (patch)
treed3cfb3e715b0b688a3aa6395faa2babcc3923364 /sys/arch/powerpc
parent822561fd3eda0089ae22fd7298da24d95eef44a1 (diff)
Remove some leftovers from the userret cleanups.
No need to save sticks anymore. miod@ ok and test
Diffstat (limited to 'sys/arch/powerpc')
-rw-r--r--sys/arch/powerpc/powerpc/trap.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/arch/powerpc/powerpc/trap.c b/sys/arch/powerpc/powerpc/trap.c
index f94168607d7..4758a5b4017 100644
--- a/sys/arch/powerpc/powerpc/trap.c
+++ b/sys/arch/powerpc/powerpc/trap.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: trap.c,v 1.76 2007/03/23 21:06:06 miod Exp $ */
+/* $OpenBSD: trap.c,v 1.77 2007/04/01 09:29:27 art Exp $ */
/* $NetBSD: trap.c,v 1.3 1996/10/13 03:31:37 christos Exp $ */
/*
@@ -255,14 +255,12 @@ trap(struct trapframe *frame)
struct cpu_info *ci = curcpu();
struct proc *p = curproc;
int type = frame->exc;
- u_quad_t sticks;
union sigval sv;
char *name;
db_expr_t offset;
if (frame->srr1 & PSL_PR) {
type |= EXC_USER;
- sticks = p->p_sticks;
}
switch (type) {