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 Fix rump definition of cpu_number().
details: https://anonhg.NetBSD.org/src/rev/303411d82266
branches: trunk
changeset: 465788:303411d82266
user: riastradh <riastradh%NetBSD.org@localhost>
date: Wed Dec 04 03:04:52 2019 +0000
description:
Fix rump definition of cpu_number().
diffstat:
sys/rump/include/machine/cpu.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 2ff83620b23e -r 303411d82266 sys/rump/include/machine/cpu.h
--- a/sys/rump/include/machine/cpu.h Wed Dec 04 03:04:43 2019 +0000
+++ b/sys/rump/include/machine/cpu.h Wed Dec 04 03:04:52 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: cpu.h,v 1.23 2019/12/01 18:29:26 ad Exp $ */
+/* $NetBSD: cpu.h,v 1.24 2019/12/04 03:04:52 riastradh Exp $ */
/*
* Copyright (c) 2008-2011 Antti Kantee. All Rights Reserved.
@@ -79,7 +79,7 @@
#define curlwp rump_curlwp_fast()
#define curcpu() (curlwp->l_cpu)
-#define cpu_number() (cpu_index(curcpu))
+#define cpu_number() (cpu_index(curcpu()))
extern struct cpu_info *rumpcpu_info_list;
#define CPU_INFO_ITERATOR int __unused
Home |
Main Index |
Thread Index |
Old Index