Source-Changes-HG archive

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

[src/trunk]: src/sys/sys move <sys/device_if.h> outside of _KERNEL since the ...



details:   https://anonhg.NetBSD.org/src/rev/5ebf999e2f08
branches:  trunk
changeset: 761251:5ebf999e2f08
user:      mrg <mrg%NetBSD.org@localhost>
date:      Sat Jan 22 09:40:50 2011 +0000

description:
move <sys/device_if.h> outside of _KERNEL since the bulk of the previous
change depends upon "device_t" being defined.

fixes sparc/stand build.

diffstat:

 sys/sys/systm.h |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (20 lines):

diff -r 4bd580207e52 -r 5ebf999e2f08 sys/sys/systm.h
--- a/sys/sys/systm.h   Sat Jan 22 08:13:47 2011 +0000
+++ b/sys/sys/systm.h   Sat Jan 22 09:40:50 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: systm.h,v 1.246 2011/01/21 17:46:19 dyoung Exp $       */
+/*     $NetBSD: systm.h,v 1.247 2011/01/22 09:40:50 mrg Exp $  */
 
 /*-
  * Copyright (c) 1982, 1988, 1991, 1993
@@ -48,8 +48,9 @@
 
 #ifdef _KERNEL
 #include <sys/types.h>
+#endif
+
 #include <sys/device_if.h>
-#endif
 
 struct clockframe;
 struct lwp;



Home | Main Index | Thread Index | Old Index