Source-Changes-HG archive

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

[src/netbsd-1-5]: src/sys/arch/alpha/common Pull up revision 1.23 (via patch, ...



details:   https://anonhg.NetBSD.org/src/rev/72de00c7e1e1
branches:  netbsd-1-5
changeset: 493098:72de00c7e1e1
user:      he <he%NetBSD.org@localhost>
date:      Sat Apr 27 10:25:26 2002 +0000

description:
Pull up revision 1.23 (via patch, requested by thorpej):
  Fix a DMA resource leak on Alpha systems with more than 1GB of
  RAM.

diffstat:

 sys/arch/alpha/common/sgmap_typedep.c |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (32 lines):

diff -r 6c7b3c4d5ecd -r 72de00c7e1e1 sys/arch/alpha/common/sgmap_typedep.c
--- a/sys/arch/alpha/common/sgmap_typedep.c     Sat Apr 27 10:24:38 2002 +0000
+++ b/sys/arch/alpha/common/sgmap_typedep.c     Sat Apr 27 10:25:26 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: sgmap_typedep.c,v 1.13 1999/07/08 18:05:23 thorpej Exp $ */
+/* $NetBSD: sgmap_typedep.c,v 1.13.12.1 2002/04/27 10:25:26 he Exp $ */
 
 /*-
  * Copyright (c) 1997, 1998 The NetBSD Foundation, Inc.
@@ -37,7 +37,7 @@
  * POSSIBILITY OF SUCH DAMAGE.
  */
 
-__KERNEL_RCSID(0, "$NetBSD: sgmap_typedep.c,v 1.13 1999/07/08 18:05:23 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sgmap_typedep.c,v 1.13.12.1 2002/04/27 10:25:26 he Exp $");
 
 #include "opt_ddb.h"
 
@@ -237,6 +237,7 @@
 #endif
        map->dm_mapsize = buflen;
        map->dm_nsegs = 1;
+       map->_dm_window = t;
        return (0);
 }
 
@@ -332,4 +333,5 @@
         */
        map->dm_mapsize = 0;
        map->dm_nsegs = 0;
+       map->_dm_window = NULL;
 }



Home | Main Index | Thread Index | Old Index