Module Name: src
Committed By: pooka
Date: Thu Oct 15 01:35:23 UTC 2009
Modified Files:
src/sys/rump/include/machine: cpu.h
Log Message:
adjust for new rump_cpu
To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/sys/rump/include/machine/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/rump/include/machine/cpu.h
diff -u src/sys/rump/include/machine/cpu.h:1.9 src/sys/rump/include/machine/cpu.h:1.10
--- src/sys/rump/include/machine/cpu.h:1.9 Tue Jan 6 13:20:34 2009
+++ src/sys/rump/include/machine/cpu.h Thu Oct 15 01:35:23 2009
@@ -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 */