diff options
author | jhb <jhb@FreeBSD.org> | 2001-02-22 13:29:22 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2001-02-22 13:29:22 +0000 |
commit | 073b1ca9aa6511f5604c4722ff64cd6fd39ef732 (patch) | |
tree | c21215331d9db842b94b5ef5462c85d545ff42f0 /sys/ia64/include | |
parent | 9162338459b5ba88c36220b223872039676b54f4 (diff) | |
download | FreeBSD-src-073b1ca9aa6511f5604c4722ff64cd6fd39ef732.zip FreeBSD-src-073b1ca9aa6511f5604c4722ff64cd6fd39ef732.tar.gz |
Catch up to new MI astpending and need_resched handling.
Diffstat (limited to 'sys/ia64/include')
-rw-r--r-- | sys/ia64/include/cpu.h | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/sys/ia64/include/cpu.h b/sys/ia64/include/cpu.h index 2574266..7a8b02a 100644 --- a/sys/ia64/include/cpu.h +++ b/sys/ia64/include/cpu.h @@ -70,14 +70,6 @@ struct clockframe { #define CLKF_INTR(framep) (curproc->p_intr_nesting_level >= 2) /* - * Preempt the current process if in interrupt from user mode, - * or after the current trap/syscall if in system mode. - */ -#define need_resched() do { want_resched = 1; aston(); } while (0) - -#define resched_wanted() want_resched - -/* * Give a profiling tick to the current process when the user profiling * buffer pages are invalid. On the hp300, request an ast to send us * through trap, marking the proc as needing a profiling tick. @@ -89,18 +81,6 @@ struct clockframe { mtx_unlock_spin(&sched_lock); \ } while (0) -/* - * Notify the current process (p) that it has a signal pending, - * process as soon as possible. - */ -#define signotify(p) aston() - -#define aston() PCPU_SET(astpending, 1) - -#ifdef _KERNEL -extern u_int32_t want_resched; /* resched() was called */ -#endif - /* * CTL_MACHDEP definitions. |