svn commit: r254172 - head/sys/arm/s3c2xx0

Olivier Houchard cognet at FreeBSD.org
Sat Aug 10 00:53:23 UTC 2013


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


More information about the svn-src-head mailing list