Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/landisk/landisk more fix.



details:   https://anonhg.NetBSD.org/src/rev/b782dcfdf6a7
branches:  trunk
changeset: 753243:b782dcfdf6a7
user:      nonaka <nonaka%NetBSD.org@localhost>
date:      Sun Mar 21 13:34:19 2010 +0000

description:
more fix.

diffstat:

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

diffs (27 lines):

diff -r cc83339111e2 -r b782dcfdf6a7 sys/arch/landisk/landisk/bus_dma.c
--- a/sys/arch/landisk/landisk/bus_dma.c        Sun Mar 21 13:26:10 2010 +0000
+++ b/sys/arch/landisk/landisk/bus_dma.c        Sun Mar 21 13:34:19 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: bus_dma.c,v 1.9 2010/03/21 13:10:38 nonaka Exp $       */
+/*     $NetBSD: bus_dma.c,v 1.10 2010/03/21 13:34:19 nonaka Exp $      */
 
 /*
  * Copyright (c) 2005 NONAKA Kimihiro
@@ -26,7 +26,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: bus_dma.c,v 1.9 2010/03/21 13:10:38 nonaka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: bus_dma.c,v 1.10 2010/03/21 13:34:19 nonaka Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -97,7 +97,7 @@
        mapsize = sizeof(struct _bus_dmamap)
                + (sizeof(bus_dma_segment_t) * (nsegments - 1));
        mapstore = malloc(mapsize, M_DMAMAP, M_ZERO
-                         | (flags & BUS_DMA_NOWAIT) ? M_NOWAIT : M_WAITOK);
+                         | ((flags & BUS_DMA_NOWAIT) ? M_NOWAIT : M_WAITOK));
        if (mapstore == NULL)
                return ENOMEM;
 



Home | Main Index | Thread Index | Old Index