Module Name: src
Committed By: reinoud
Date: Thu Jan 19 12:14:49 UTC 2012
Modified Files:
src/sys/arch/usermode/include: cpu.h
Log Message:
My fault, forgot that cpu_need_resched() is indeed already declared as a
function
To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/sys/arch/usermode/include/cpu.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/usermode/include/cpu.h
diff -u src/sys/arch/usermode/include/cpu.h:1.8 src/sys/arch/usermode/include/cpu.h:1.9
--- src/sys/arch/usermode/include/cpu.h:1.8 Thu Jan 19 12:10:00 2012
+++ src/sys/arch/usermode/include/cpu.h Thu Jan 19 12:14:49 2012
@@ -1,4 +1,4 @@
-/* $NetBSD: cpu.h,v 1.8 2012/01/19 12:10:00 reinoud Exp $ */
+/* $NetBSD: cpu.h,v 1.9 2012/01/19 12:14:49 reinoud Exp $ */
/*-
* Copyright (c) 2007 Jared D. McNeill <[email protected]>
@@ -43,9 +43,10 @@ extern void userret(struct lwp *);
#define cpu_proc_fork(p1, p2)
+struct cpu_info;
extern int astpending;
#define aston(ci) (astpending++)
-#define cpu_need_resched(ci, flags) { ci->ci_want_resched = 1; aston(); }
+extern void cpu_need_resched(struct cpu_info *ci, int flags);
struct cpu_info {