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) _______________________________________________ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"