Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/rump/include/machine adjust for new rump_cpu



details:   https://anonhg.NetBSD.org/src/rev/7d0cffdcfd5a
branches:  trunk
changeset: 748168:7d0cffdcfd5a
user:      pooka <pooka%NetBSD.org@localhost>
date:      Thu Oct 15 01:35:23 2009 +0000

description:
adjust for new rump_cpu

diffstat:

 sys/rump/include/machine/cpu.h |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (20 lines):

diff -r f82bb5715cf0 -r 7d0cffdcfd5a sys/rump/include/machine/cpu.h
--- a/sys/rump/include/machine/cpu.h    Thu Oct 15 01:29:06 2009 +0000
+++ b/sys/rump/include/machine/cpu.h    Thu Oct 15 01:35:23 2009 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: cpu.h,v 1.9 2009/01/06 13:20:34 pooka Exp $    */
+/*     $NetBSD: cpu.h,v 1.10 2009/10/15 01:35:23 pooka Exp $   */
 
 /*
  * Copyright (c) 2007 Antti Kantee.  All Rights Reserved.
@@ -72,8 +72,8 @@
 void __syncicache(void *, size_t);
 #endif
 
-extern struct cpu_info rump_cpu;
-#define curcpu() (&rump_cpu)
+extern struct cpu_info *rump_cpu;
+#define curcpu() (rump_cpu)
 #define cpu_number() 0 /* XXX: good enuf? */
 
 struct lwp *rump_get_curlwp(void); /* XXX */



Home | Main Index | Thread Index | Old Index