Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/i386/include Keep size of struct cpu_info independe...



details:   https://anonhg.NetBSD.org/src/rev/b5a89007e3f3
branches:  trunk
changeset: 537854:b5a89007e3f3
user:      fvdl <fvdl%NetBSD.org@localhost>
date:      Sun Oct 06 18:31:21 2002 +0000

description:
Keep size of struct cpu_info independent of DIAGNOSTIC/LOCKDEBUG
(was done in rev. 1.81, got lost in the MP merge).

diffstat:

 sys/arch/i386/include/cpu.h |  4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diffs (20 lines):

diff -r d689a62528de -r b5a89007e3f3 sys/arch/i386/include/cpu.h
--- a/sys/arch/i386/include/cpu.h       Sun Oct 06 18:28:48 2002 +0000
+++ b/sys/arch/i386/include/cpu.h       Sun Oct 06 18:31:21 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: cpu.h,v 1.85 2002/10/06 14:28:17 fvdl Exp $    */
+/*     $NetBSD: cpu.h,v 1.86 2002/10/06 18:31:21 fvdl Exp $    */
 
 /*-
  * Copyright (c) 1990 The Regents of the University of California.
@@ -95,10 +95,8 @@
        struct proc *ci_curproc;        /* current owner of the processor */
        struct simplelock ci_slock;     /* lock on this data structure */
        cpuid_t ci_cpuid;               /* our CPU ID */
-#if defined(DIAGNOSTIC) || defined(LOCKDEBUG)
        u_long ci_spin_locks;           /* # of spin locks held */
        u_long ci_simple_locks;         /* # of simple locks held */
-#endif
 
        /*
         * Private members.



Home | Main Index | Thread Index | Old Index