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 fix wrong op priority.



details:   https://anonhg.NetBSD.org/src/rev/0818df1f2527
branches:  trunk
changeset: 753241:0818df1f2527
user:      nonaka <nonaka%NetBSD.org@localhost>
date:      Sun Mar 21 13:10:38 2010 +0000

description:
fix wrong op priority.

diffstat:

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

diffs (27 lines):

diff -r 488c8a31acb9 -r 0818df1f2527 sys/arch/landisk/landisk/bus_dma.c
--- a/sys/arch/landisk/landisk/bus_dma.c        Sun Mar 21 13:04:24 2010 +0000
+++ b/sys/arch/landisk/landisk/bus_dma.c        Sun Mar 21 13:10:38 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: bus_dma.c,v 1.8 2009/11/07 07:27:45 cegger Exp $       */
+/*     $NetBSD: bus_dma.c,v 1.9 2010/03/21 13:10:38 nonaka Exp $       */
 
 /*
  * Copyright (c) 2005 NONAKA Kimihiro
@@ -26,7 +26,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: bus_dma.c,v 1.8 2009/11/07 07:27:45 cegger Exp $");
+__KERNEL_RCSID(0, "$NetBSD: bus_dma.c,v 1.9 2010/03/21 13:10:38 nonaka Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -685,7 +685,7 @@
        size = round_page(size);
 
        va = uvm_km_alloc(kernel_map, size, 0, UVM_KMF_VAONLY
-                         | (flags & BUS_DMA_NOWAIT) ? UVM_KMF_NOWAIT : 0);
+                         | ((flags & BUS_DMA_NOWAIT) ? UVM_KMF_NOWAIT : 0));
        if (va == 0)
                return (ENOMEM);
 



Home | Main Index | Thread Index | Old Index