diff options
Diffstat (limited to 'sys/arch/mvme68k')
-rw-r--r-- | sys/arch/mvme68k/include/cpu.h | 4 | ||||
-rw-r--r-- | sys/arch/mvme68k/mvme68k/trap.c | 3 |
2 files changed, 3 insertions, 4 deletions
diff --git a/sys/arch/mvme68k/include/cpu.h b/sys/arch/mvme68k/include/cpu.h index 11e0a01ed04..a7caae93d53 100644 --- a/sys/arch/mvme68k/include/cpu.h +++ b/sys/arch/mvme68k/include/cpu.h @@ -1,4 +1,4 @@ -/* $OpenBSD: cpu.h,v 1.25 2006/11/29 12:26:13 miod Exp $ */ +/* $OpenBSD: cpu.h,v 1.26 2007/03/15 10:22:29 art Exp $ */ /* * Copyright (c) 1995 Theo de Raadt @@ -121,7 +121,7 @@ extern int want_resched; * buffer pages are invalid. On the m68k, request an ast to send us * through trap, marking the proc as needing a profiling tick. */ -#define need_proftick(p) { (p)->p_flag |= P_OWEUPC; aston(); } +#define need_proftick(p) aston() /* * Notify the current process (p) that it has a signal pending, diff --git a/sys/arch/mvme68k/mvme68k/trap.c b/sys/arch/mvme68k/mvme68k/trap.c index cb72380c5a2..41fbfcc4b7c 100644 --- a/sys/arch/mvme68k/mvme68k/trap.c +++ b/sys/arch/mvme68k/mvme68k/trap.c @@ -1,4 +1,4 @@ -/* $OpenBSD: trap.c,v 1.64 2007/01/28 16:38:48 miod Exp $ */ +/* $OpenBSD: trap.c,v 1.65 2007/03/15 10:22:29 art Exp $ */ /* * Copyright (c) 1995 Theo de Raadt @@ -491,7 +491,6 @@ copyfault: } spl0(); if (p->p_flag & P_OWEUPC) { - p->p_flag &= ~P_OWEUPC; ADDUPROF(p); } if (type == (T_ASTFLT | T_USER) && want_resched) { |