summaryrefslogtreecommitdiffstats
path: root/sys/ia64/include/cpu.h
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2001-02-22 13:29:22 +0000
committerjhb <jhb@FreeBSD.org>2001-02-22 13:29:22 +0000
commit073b1ca9aa6511f5604c4722ff64cd6fd39ef732 (patch)
treec21215331d9db842b94b5ef5462c85d545ff42f0 /sys/ia64/include/cpu.h
parent9162338459b5ba88c36220b223872039676b54f4 (diff)
downloadFreeBSD-src-073b1ca9aa6511f5604c4722ff64cd6fd39ef732.zip
FreeBSD-src-073b1ca9aa6511f5604c4722ff64cd6fd39ef732.tar.gz
Catch up to new MI astpending and need_resched handling.
Diffstat (limited to 'sys/ia64/include/cpu.h')
-rw-r--r--sys/ia64/include/cpu.h20
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.
OpenPOWER on IntegriCloud