Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/i386/i386 Move sysctllog inside the _LKM block. Rep...



details:   https://anonhg.NetBSD.org/src/rev/7a8b473bcc67
branches:  trunk
changeset: 587965:7a8b473bcc67
user:      xtraeme <xtraeme%NetBSD.org@localhost>
date:      Sat Feb 04 14:01:08 2006 +0000

description:
Move sysctllog inside the _LKM block. Reported by Jukka Salmi.

diffstat:

 sys/arch/i386/i386/powernow_k7.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (34 lines):

diff -r 9277c774e925 -r 7a8b473bcc67 sys/arch/i386/i386/powernow_k7.c
--- a/sys/arch/i386/i386/powernow_k7.c  Sat Feb 04 13:40:38 2006 +0000
+++ b/sys/arch/i386/i386/powernow_k7.c  Sat Feb 04 14:01:08 2006 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: powernow_k7.c,v 1.6 2006/02/03 02:37:57 xtraeme Exp $ */
+/* $NetBSD: powernow_k7.c,v 1.7 2006/02/04 14:01:08 xtraeme Exp $ */
 
 /*
  * Copyright (c) 2004 Martin Végiard.
@@ -32,7 +32,7 @@
 /* Sysctl related code was adapted from NetBSD's i386/est.c for compatibility */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: powernow_k7.c,v 1.6 2006/02/03 02:37:57 xtraeme Exp $");
+__KERNEL_RCSID(0, "$NetBSD: powernow_k7.c,v 1.7 2006/02/04 14:01:08 xtraeme Exp $");
 
 #include <sys/types.h>
 #include <sys/param.h>
@@ -114,7 +114,6 @@
 
 /* Static variables */
 static struct          freq_table_s *freq_table;
-static struct          sysctllog *sysctllog;
 static unsigned int    fsb;
 static unsigned int    cur_freq;
 static unsigned int    ttime;
@@ -125,6 +124,7 @@
 static int             powernow_cpu;
 
 #ifdef _LKM
+static struct sysctllog *sysctllog
 #define SYSCTLLOG      &sysctllog
 #else
 #define SYSCTLLOG      NULL



Home | Main Index | Thread Index | Old Index