From owner-svn-src-head@FreeBSD.ORG Mon Jul 14 17:16:10 2014 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 3610AB14; Mon, 14 Jul 2014 17:16:10 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 23E7B2DC8; Mon, 14 Jul 2014 17:16:10 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s6EHGAU1080656; Mon, 14 Jul 2014 17:16:10 GMT (envelope-from alc@svn.freebsd.org) Received: (from alc@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s6EHG9gl080655; Mon, 14 Jul 2014 17:16:10 GMT (envelope-from alc@svn.freebsd.org) Message-Id: <201407141716.s6EHG9gl080655@svn.freebsd.org> From: Alan Cox Date: Mon, 14 Jul 2014 17:16:09 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r268623 - head/sys/arm/arm X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Jul 2014 17:16:10 -0000 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)