Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/uvm Use cpu_number() in UVMHIST_LOG() rather than non-pu...
details: https://anonhg.NetBSD.org/src/rev/3fa725e4925c
branches: trunk
changeset: 544012:3fa725e4925c
user: tsutsui <tsutsui%NetBSD.org@localhost>
date: Sat Mar 08 15:17:23 2003 +0000
description:
Use cpu_number() in UVMHIST_LOG() rather than non-public ci_cpuid member
in struct cpu_info.
diffstat:
sys/uvm/uvm_stat.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r e091d98362d4 -r 3fa725e4925c sys/uvm/uvm_stat.h
--- a/sys/uvm/uvm_stat.h Sat Mar 08 10:59:02 2003 +0000
+++ b/sys/uvm/uvm_stat.h Sat Mar 08 15:17:23 2003 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: uvm_stat.h,v 1.26 2003/02/09 22:33:18 pk Exp $ */
+/* $NetBSD: uvm_stat.h,v 1.27 2003/03/08 15:17:23 tsutsui Exp $ */
/*
*
@@ -207,7 +207,7 @@
splx(_s_); \
if (!cold) \
microtime(&(NAME).e[_i_].tv); \
- (NAME).e[_i_].cpunum = curcpu()->ci_cpuid; \
+ (NAME).e[_i_].cpunum = cpu_number(); \
(NAME).e[_i_].fmt = (FMT); \
(NAME).e[_i_].fmtlen = strlen((NAME).e[_i_].fmt); \
(NAME).e[_i_].fn = _uvmhist_name; \
Home |
Main Index |
Thread Index |
Old Index