Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/alpha/include rumpkernel needs ci_pcc_freq
details: https://anonhg.NetBSD.org/src/rev/d91e0271841b
branches: trunk
changeset: 326178:d91e0271841b
user: christos <christos%NetBSD.org@localhost>
date: Tue Jan 21 20:18:46 2014 +0000
description:
rumpkernel needs ci_pcc_freq
diffstat:
sys/arch/alpha/include/cpu.h | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 0f96d9bd151d -r d91e0271841b sys/arch/alpha/include/cpu.h
--- a/sys/arch/alpha/include/cpu.h Tue Jan 21 20:12:54 2014 +0000
+++ b/sys/arch/alpha/include/cpu.h Tue Jan 21 20:18:46 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: cpu.h,v 1.80 2013/11/10 00:50:13 christos Exp $ */
+/* $NetBSD: cpu.h,v 1.81 2014/01/21 20:18:46 christos Exp $ */
/*-
* Copyright (c) 1998, 1999, 2000, 2001 The NetBSD Foundation, Inc.
@@ -109,7 +109,7 @@
*/
struct lwp *ci_curlwp; /* current owner of the processor */
struct cpu_data ci_data; /* MI per-cpu data */
-#ifndef _KMEMUSER
+#if !defined(_KMEMUSER) || defined(_RUMPKERNEL)
struct cctr_state ci_cc; /* cycle counter state */
struct cpu_info *ci_next; /* next cpu_info structure */
int ci_mtx_count;
@@ -130,7 +130,7 @@
volatile u_long ci_flags; /* flags; see below */
volatile u_long ci_ipis; /* interprocessor interrupts pending */
#endif
-#endif /* _KMEMUSER */
+#endif /* !_KMEMUSER || _RUMPKERNEL */
};
#endif /* _KERNEL || _KMEMUSER */
Home |
Main Index |
Thread Index |
Old Index