diff options
| author | tsutsui <tsutsui@NetBSD.org> | 2003-03-08 15:17:23 +0000 |
|---|---|---|
| committer | tsutsui <tsutsui@NetBSD.org> | 2003-03-08 15:17:23 +0000 |
| commit | 004ae0051408e939340fba68fbf53639cc2d625c (patch) | |
| tree | 506d9e63617585bf7df8b277ef36edf6c9e18ed9 | |
| parent | b648593b37d56fafcf86f04df514f382bcd6d1a3 (diff) | |
Use cpu_number() in UVMHIST_LOG() rather than non-public ci_cpuid member
in struct cpu_info.
| -rw-r--r-- | sys/uvm/uvm_stat.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/uvm/uvm_stat.h b/sys/uvm/uvm_stat.h index 9650ab63346..49de45a1cbb 100644 --- a/sys/uvm/uvm_stat.h +++ b/sys/uvm/uvm_stat.h @@ -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 @@ do { \ 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; \ |
