Module Name:    src
Committed By:   drochner
Date:           Wed Apr  1 21:15:46 UTC 2009

Modified Files:
        src/sys/arch/x86/include: via_padlock.h

Log Message:
sort out what is needed for crash(8) and what not, should fix
recent build errors


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/sys/arch/x86/include/via_padlock.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/x86/include/via_padlock.h
diff -u src/sys/arch/x86/include/via_padlock.h:1.4 src/sys/arch/x86/include/via_padlock.h:1.5
--- src/sys/arch/x86/include/via_padlock.h:1.4	Wed Apr  1 03:56:54 2009
+++ src/sys/arch/x86/include/via_padlock.h	Wed Apr  1 21:15:45 2009
@@ -1,4 +1,4 @@
-/*	$NetBSD: via_padlock.h,v 1.4 2009/04/01 03:56:54 tls Exp $	*/
+/*	$NetBSD: via_padlock.h,v 1.5 2009/04/01 21:15:45 drochner Exp $	*/
 
 /*-
  * Copyright (c) 2003 Jason Wright
@@ -21,7 +21,7 @@
 #ifndef _X86_VIA_PADLOCK_H_
 #define _X86_VIA_PADLOCK_H_
 
-#if defined(_KERNEL) || defined(_KMEMUSER)
+#if defined(_KERNEL)
 
 #include <sys/rnd.h>
 #include <sys/callout.h>
@@ -72,6 +72,11 @@
 
 #define VIAC3_RNG_BUFSIZ	16
 
+void    via_padlock_attach(void);
+
+#endif /* _KERNEL */
+
+#if defined(_KERNEL) || defined(_KMEMUSER)
 struct cpu_info;
 
 struct via_padlock {
@@ -79,7 +84,5 @@
 	int			vp_freq;
 };
 
-void	via_padlock_attach(void);
-
 #endif /* _KERNEL || _KMEMUSER */
 #endif /* _X86_VIA_PADLOCK_H_ */

Reply via email to