From 74b1767b3cf5b92707b013da354be98465647a24 Mon Sep 17 00:00:00 2001 From: atatat Date: Fri, 12 Dec 2003 03:52:56 +0000 Subject: [PATCH] The machdep.debug node is an int, not a struct --- sys/arch/arm/arm32/arm32_machdep.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sys/arch/arm/arm32/arm32_machdep.c b/sys/arch/arm/arm32/arm32_machdep.c index cc8e4b2e447c..5901331434a5 100644 --- a/sys/arch/arm/arm32/arm32_machdep.c +++ b/sys/arch/arm/arm32/arm32_machdep.c @@ -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 -__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 @@ SYSCTL_SETUP(sysctl_machdep_setup, "sysctl machdep subtree setup") 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,