Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Aug 2013 00:53:22 +0000 (UTC)
From:      Olivier Houchard <cognet@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r254172 - head/sys/arm/s3c2xx0
Message-ID:  <201308100053.r7A0rMOG014101@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: cognet
Date: Sat Aug 10 00:53:22 2013
New Revision: 254172
URL: http://svnweb.freebsd.org/changeset/base/254172

Log:
  Use the correct address when calling kva_free()
  
  Pointy hat to:	cognet
  Spotted out by:	alc

Modified:
  head/sys/arm/s3c2xx0/s3c2xx0_space.c

Modified: head/sys/arm/s3c2xx0/s3c2xx0_space.c
==============================================================================
--- head/sys/arm/s3c2xx0/s3c2xx0_space.c	Sat Aug 10 00:31:49 2013	(r254171)
+++ head/sys/arm/s3c2xx0/s3c2xx0_space.c	Sat Aug 10 00:53:22 2013	(r254172)
@@ -214,7 +214,7 @@ s3c2xx0_bs_unmap(void *t, bus_space_hand
 		pmap_kremove(va);
 		va += PAGE_SIZE;
 	}
-	kva_free(va, endva - origva);
+	kva_free(origva, endva - origva);
 }
 
 int



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201308100053.r7A0rMOG014101>