From 49ef1aaa13c43ce23bf5d856364d1178c713f50c Mon Sep 17 00:00:00 2001 From: bde Date: Mon, 19 Feb 2001 04:15:59 +0000 Subject: Changed the aston() family to operate on a specified process instead of always on curproc. This is needed to implement signal delivery properly (see a future log message for kern_sig.c). Debogotified the definition of aston(). aston() was defined in terms of signotify() (perhaps because only the latter already operated on a specified process), but aston() is the primitive. Similar changes are needed in the ia64 versions of cpu.h and trap.c. I didn't make them because the ia64 is missing the prerequisite changes to make astpending and need_resched per-process and those changes are too large to make without testing. --- sys/alpha/include/cpu.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/alpha/include') diff --git a/sys/alpha/include/cpu.h b/sys/alpha/include/cpu.h index 3e0696f..798f8dd 100644 --- a/sys/alpha/include/cpu.h +++ b/sys/alpha/include/cpu.h @@ -80,7 +80,7 @@ struct clockframe { #define need_proftick(p) do { \ mtx_lock_spin(&sched_lock); \ (p)->p_sflag |= PS_OWEUPC; \ - aston(); \ + aston(p); \ mtx_unlock_spin(&sched_lock); \ } while (0) -- cgit v1.1