Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Jul 2014 17:16:09 +0000 (UTC)
From:      Alan Cox <alc@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r268623 - head/sys/arm/arm
Message-ID:  <201407141716.s6EHG9gl080655@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: alc
Date: Mon Jul 14 17:16:09 2014
New Revision: 268623
URL: http://svnweb.freebsd.org/changeset/base/268623

Log:
  Eliminate dead code.  There is no direct map.  This code was cut-and-pasted
  from amd64.

Modified:
  head/sys/arm/arm/pmap-v6.c

Modified: head/sys/arm/arm/pmap-v6.c
==============================================================================
--- head/sys/arm/arm/pmap-v6.c	Mon Jul 14 15:54:50 2014	(r268622)
+++ head/sys/arm/arm/pmap-v6.c	Mon Jul 14 17:16:09 2014	(r268623)
@@ -2752,16 +2752,6 @@ pmap_change_attr(vm_offset_t sva, vm_siz
 	offset = sva & PAGE_MASK;
 	size = roundup(offset + len, PAGE_SIZE);
 
-#ifdef checkit
-	/*
-	 * Only supported on kernel virtual addresses, including the direct
-	 * map but excluding the recursive map.
-	 */
-	if (base < DMAP_MIN_ADDRESS) {
-		PMAP_UNLOCK(kernel_pmap);
-		return (EINVAL);
-	}
-#endif
 	for (tmpva = base; tmpva < base + size; ) {
 		next_bucket = L2_NEXT_BUCKET(tmpva);
 		if (next_bucket > base + size)



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