summaryrefslogtreecommitdiff
path: root/sys/arch/sparc64/include
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2001-08-18 20:20:10 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2001-08-18 20:20:10 +0000
commitb64c597cf281625823b9fc4c386d2b29764967cc (patch)
tree9b9ef5e307bea96db09eff807c529b62f503a328 /sys/arch/sparc64/include
parentdc82059e207323c996848a9ba3299eb40b79ad0d (diff)
- Don't include sys/sched.h for now.
- Our need_resched doesn't take an argument.
Diffstat (limited to 'sys/arch/sparc64/include')
-rw-r--r--sys/arch/sparc64/include/cpu.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/sparc64/include/cpu.h b/sys/arch/sparc64/include/cpu.h
index 27ac9515de9..e7e845a7881 100644
--- a/sys/arch/sparc64/include/cpu.h
+++ b/sys/arch/sparc64/include/cpu.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: cpu.h,v 1.2 2001/08/18 15:27:30 art Exp $ */
+/* $OpenBSD: cpu.h,v 1.3 2001/08/18 20:20:09 art Exp $ */
/* $NetBSD: cpu.h,v 1.28 2001/06/14 22:56:58 thorpej Exp $ */
/*
@@ -69,7 +69,7 @@
#include <machine/intr.h>
#include <sparc64/sparc64/intreg.h>
-#include <sys/sched.h>
+/*#include <sys/sched.h> */
/*
* CPU states.
@@ -205,7 +205,7 @@ int want_ast;
* or after the current trap/syscall if in system mode.
*/
int want_resched; /* resched() was called */
-#define need_resched(ci) (want_resched = 1, want_ast = 1)
+#define need_resched() (want_resched = 1, want_ast = 1)
/*
* Give a profiling tick to the current process when the user profiling