aboutsummaryrefslogtreecommitdiff
path: root/sys/ia64/include/cpu.h
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2001-02-22 13:29:22 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2001-02-22 13:29:22 +0000
commitde0e830e6d75f9aa8cb894e4b89b7f5aad8ebe96 (patch)
treee2d555c6d4dabbc4b7a2fd5ddfdf4bfad0f87ce9 /sys/ia64/include/cpu.h
parent9863ddda64a332a032e6bed68cfb28f082577b34 (diff)
Notes
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 25742662ef88..7a8b02af9dab 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.