Source-Changes-HG archive

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

[src/trunk]: src/sys make blist compilable on netbsd.



details:   https://anonhg.NetBSD.org/src/rev/d78b61571e04
branches:  trunk
changeset: 580043:d78b61571e04
user:      yamt <yamt%NetBSD.org@localhost>
date:      Wed Apr 06 11:33:54 2005 +0000

description:
make blist compilable on netbsd.

diffstat:

 sys/conf/files        |  3 ++-
 sys/kern/subr_blist.c |  6 +++++-
 sys/sys/blist.h       |  2 ++
 3 files changed, 9 insertions(+), 2 deletions(-)

diffs (54 lines):

diff -r 2010bcf18cea -r d78b61571e04 sys/conf/files
--- a/sys/conf/files    Wed Apr 06 11:32:06 2005 +0000
+++ b/sys/conf/files    Wed Apr 06 11:33:54 2005 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: files,v 1.715 2005/04/03 11:21:44 jdolecek Exp $
+#      $NetBSD: files,v 1.716 2005/04/06 11:33:54 yamt Exp $
 
 #      @(#)files.newconf       7.5 (Berkeley) 5/10/93
 
@@ -1240,6 +1240,7 @@
 file   kern/kern_xxx.c
 file   kern/kgdb_stub.c                kgdb
 file   kern/subr_autoconf.c
+file   kern/subr_blist.c
 file   kern/subr_devsw.c
 file   kern/subr_disk.c
 file   kern/subr_evcnt.c
diff -r 2010bcf18cea -r d78b61571e04 sys/kern/subr_blist.c
--- a/sys/kern/subr_blist.c     Wed Apr 06 11:32:06 2005 +0000
+++ b/sys/kern/subr_blist.c     Wed Apr 06 11:33:54 2005 +0000
@@ -1,3 +1,5 @@
+/*     $NetBSD: subr_blist.c,v 1.2 2005/04/06 11:33:54 yamt Exp $      */
+
 /*-
  * Copyright (c) 1998 Matthew Dillon.  All Rights Reserved.
  * Redistribution and use in source and binary forms, with or without
@@ -84,7 +86,10 @@
  */
 
 #include <sys/cdefs.h>
+__KERNEL_RCSID(0, "$NetBSD: subr_blist.c,v 1.2 2005/04/06 11:33:54 yamt Exp $");
+#if 0
 __FBSDID("$FreeBSD: src/sys/kern/subr_blist.c,v 1.17 2004/06/04 04:03:25 alc Exp $");
+#endif
 
 #ifdef _KERNEL
 
@@ -95,7 +100,6 @@
 #include <sys/blist.h>
 #include <sys/malloc.h>
 #include <sys/proc.h>
-#include <sys/mutex.h> 
 
 #else
 
diff -r 2010bcf18cea -r d78b61571e04 sys/sys/blist.h
--- a/sys/sys/blist.h   Wed Apr 06 11:32:06 2005 +0000
+++ b/sys/sys/blist.h   Wed Apr 06 11:33:54 2005 +0000
@@ -1,3 +1,5 @@
+/*     $NetBSD: blist.h,v 1.2 2005/04/06 11:33:54 yamt Exp $   */
+
 /*-
  * Copyright (c) 1998 Matthew Dillon.  All Rights Reserved.
  * Redistribution and use in source and binary forms, with or without



Home | Main Index | Thread Index | Old Index