Module Name:    src
Committed By:   matt
Date:           Fri Feb 15 01:03:43 UTC 2013

Modified Files:
        src/sys/arch/arm/arm32: bus_dma.c

Log Message:
Actually use the calculated uboundary.


To generate a diff of this commit:
cvs rdiff -u -r1.77 -r1.78 src/sys/arch/arm/arm32/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/arm/arm32/bus_dma.c
diff -u src/sys/arch/arm/arm32/bus_dma.c:1.77 src/sys/arch/arm/arm32/bus_dma.c:1.78
--- src/sys/arch/arm/arm32/bus_dma.c:1.77	Thu Feb 14 08:24:39 2013
+++ src/sys/arch/arm/arm32/bus_dma.c	Fri Feb 15 01:03:43 2013
@@ -1,4 +1,4 @@
-/*	$NetBSD: bus_dma.c,v 1.77 2013/02/14 08:24:39 matt Exp $	*/
+/*	$NetBSD: bus_dma.c,v 1.78 2013/02/15 01:03:43 matt Exp $	*/
 
 /*-
  * Copyright (c) 1996, 1997, 1998 The NetBSD Foundation, Inc.
@@ -33,7 +33,7 @@
 #define _ARM32_BUS_DMA_PRIVATE
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: bus_dma.c,v 1.77 2013/02/14 08:24:39 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: bus_dma.c,v 1.78 2013/02/15 01:03:43 matt Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -1562,7 +1562,7 @@ _bus_dmamem_alloc_range(bus_dma_tag_t t,
 	/*
 	 * Allocate pages from the VM system.
 	 */
-	error = uvm_pglistalloc(size, low, high, alignment, boundary,
+	error = uvm_pglistalloc(size, low, high, alignment, uboundary,
 	    &mlist, nsegs, (flags & BUS_DMA_NOWAIT) == 0);
 	if (error)
 		return (error);

Reply via email to