diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2011-11-16 20:50:20 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2011-11-16 20:50:20 +0000 |
commit | 2a39fa558a41be222975f333acfd00c4db42fed5 (patch) | |
tree | b1627458702e4c5686d179b0d093b0a835374437 /sys/arch/m88k | |
parent | 27351360a6e6c6cd92454a8c97e0bc587faf7e13 (diff) |
Make userret() MI. On architectures which jammed stuff into it in the
past, pull that code out seperately.
ok guenther miod
Diffstat (limited to 'sys/arch/m88k')
-rw-r--r-- | sys/arch/m88k/m88k/trap.c | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/sys/arch/m88k/m88k/trap.c b/sys/arch/m88k/m88k/trap.c index 542065c3533..9ebdf92aba3 100644 --- a/sys/arch/m88k/m88k/trap.c +++ b/sys/arch/m88k/m88k/trap.c @@ -1,4 +1,4 @@ -/* $OpenBSD: trap.c,v 1.78 2011/07/11 15:40:47 guenther Exp $ */ +/* $OpenBSD: trap.c,v 1.79 2011/11/16 20:50:18 deraadt Exp $ */ /* * Copyright (c) 2004, Miodrag Vallat. * Copyright (c) 1998 Steve Murphree, Jr. @@ -119,18 +119,6 @@ const char *pbus_exception_type[] = { }; #endif -static inline void -userret(struct proc *p) -{ - int sig; - - /* take pending signals */ - while ((sig = CURSIG(p)) != 0) - postsig(sig); - - curcpu()->ci_schedstate.spc_curpriority = p->p_priority = p->p_usrpri; -} - void printtrap(int type, struct trapframe *frame) { |