Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/usermode/include My fault, forgot that cpu_need_res...
details: https://anonhg.NetBSD.org/src/rev/ede72596b621
branches: trunk
changeset: 772869:ede72596b621
user: reinoud <reinoud%NetBSD.org@localhost>
date: Thu Jan 19 12:14:49 2012 +0000
description:
My fault, forgot that cpu_need_resched() is indeed already declared as a function
diffstat:
sys/arch/usermode/include/cpu.h | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (21 lines):
diff -r 1a130f9bf11a -r ede72596b621 sys/arch/usermode/include/cpu.h
--- a/sys/arch/usermode/include/cpu.h Thu Jan 19 12:10:00 2012 +0000
+++ b/sys/arch/usermode/include/cpu.h Thu Jan 19 12:14:49 2012 +0000
@@ -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 <jmcneill%invisible.ca@localhost>
@@ -43,9 +43,10 @@
#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 {
Home |
Main Index |
Thread Index |
Old Index