Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/arm/arm32 The machdep.debug node is an int, not a s...



details:   https://anonhg.NetBSD.org/src/rev/bb52c5004efc
branches:  trunk
changeset: 556282:bb52c5004efc
user:      atatat <atatat%NetBSD.org@localhost>
date:      Fri Dec 12 03:52:56 2003 +0000

description:
The machdep.debug node is an int, not a struct

diffstat:

 sys/arch/arm/arm32/arm32_machdep.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r a11337b0935b -r bb52c5004efc sys/arch/arm/arm32/arm32_machdep.c
--- a/sys/arch/arm/arm32/arm32_machdep.c        Thu Dec 11 23:52:25 2003 +0000
+++ b/sys/arch/arm/arm32/arm32_machdep.c        Fri Dec 12 03:52:56 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: arm32_machdep.c,v 1.39 2003/12/04 19:38:21 atatat Exp $        */
+/*     $NetBSD: arm32_machdep.c,v 1.40 2003/12/12 03:52:56 atatat Exp $        */
 
 /*
  * Copyright (c) 1994-1998 Mark Brinicombe.
@@ -42,7 +42,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: arm32_machdep.c,v 1.39 2003/12/04 19:38:21 atatat Exp $");
+__KERNEL_RCSID(0, "$NetBSD: arm32_machdep.c,v 1.40 2003/12/12 03:52:56 atatat Exp $");
 
 #include "opt_md.h"
 #include "opt_pmap_debug.h"
@@ -408,7 +408,7 @@
                       CTL_MACHDEP, CTL_EOL);
 
        sysctl_createv(SYSCTL_PERMANENT|SYSCTL_READWRITE,
-                      CTLTYPE_STRUCT, "debug", NULL,
+                      CTLTYPE_INT, "debug", NULL,
                       NULL, 0, &kernel_debug, 0,
                       CTL_MACHDEP, CPU_CONSDEV, CTL_EOL);
        sysctl_createv(SYSCTL_PERMANENT,



Home | Main Index | Thread Index | Old Index