Module Name: src
Committed By: nonaka
Date: Sun Mar 21 13:10:38 UTC 2010
Modified Files:
src/sys/arch/landisk/landisk: bus_dma.c
Log Message:
fix wrong op priority.
To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/sys/arch/landisk/landisk/bus_dma.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/landisk/landisk/bus_dma.c
diff -u src/sys/arch/landisk/landisk/bus_dma.c:1.8 src/sys/arch/landisk/landisk/bus_dma.c:1.9
--- src/sys/arch/landisk/landisk/bus_dma.c:1.8 Sat Nov 7 07:27:45 2009
+++ src/sys/arch/landisk/landisk/bus_dma.c Sun Mar 21 13:10:38 2010
@@ -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);