From owner-svn-src-head@FreeBSD.ORG Fri Jun 14 00:03:44 2013 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id C355150B; Fri, 14 Jun 2013 00:03:44 +0000 (UTC) (envelope-from neel@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id 9C52912F4; Fri, 14 Jun 2013 00:03:44 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r5E03iWa070711; Fri, 14 Jun 2013 00:03:44 GMT (envelope-from neel@svn.freebsd.org) Received: (from neel@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r5E03iiD070704; Fri, 14 Jun 2013 00:03:44 GMT (envelope-from neel@svn.freebsd.org) Message-Id: <201306140003.r5E03iiD070704@svn.freebsd.org> From: Neel Natu Date: Fri, 14 Jun 2013 00:03:44 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r251720 - in head/sys/amd64: amd64 include 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.14 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: Fri, 14 Jun 2013 00:03:44 -0000 Author: neel Date: Fri Jun 14 00:03:43 2013 New Revision: 251720 URL: http://svnweb.freebsd.org/changeset/base/251720 Log: Remove unused macros PTESHIFT, PDESHIFT, PDPESHIFT and PML4ESHIFT. Reviewed by: alc Modified: head/sys/amd64/amd64/genassym.c head/sys/amd64/amd64/pmap.c head/sys/amd64/include/pmap.h Modified: head/sys/amd64/amd64/genassym.c ============================================================================== --- head/sys/amd64/amd64/genassym.c Fri Jun 14 00:02:29 2013 (r251719) +++ head/sys/amd64/amd64/genassym.c Fri Jun 14 00:03:43 2013 (r251720) @@ -109,7 +109,6 @@ ASSYM(addr_PML4map, addr_PML4map); ASSYM(addr_PML4pml4e, addr_PML4pml4e); ASSYM(PDESIZE, sizeof(pd_entry_t)); ASSYM(PTESIZE, sizeof(pt_entry_t)); -ASSYM(PTESHIFT, PTESHIFT); ASSYM(PAGE_SHIFT, PAGE_SHIFT); ASSYM(PAGE_MASK, PAGE_MASK); ASSYM(PDRSHIFT, PDRSHIFT); Modified: head/sys/amd64/amd64/pmap.c ============================================================================== --- head/sys/amd64/amd64/pmap.c Fri Jun 14 00:02:29 2013 (r251719) +++ head/sys/amd64/amd64/pmap.c Fri Jun 14 00:03:43 2013 (r251720) @@ -320,9 +320,6 @@ static void _pmap_unwire_ptp(pmap_t pmap static int pmap_unuse_pt(pmap_t, vm_offset_t, pd_entry_t, vm_page_t *); static vm_offset_t pmap_kmem_choose(vm_offset_t addr); -CTASSERT(1 << PDESHIFT == sizeof(pd_entry_t)); -CTASSERT(1 << PTESHIFT == sizeof(pt_entry_t)); - /* * Move the kernel virtual free pointer to the next * 2MB. This is used to help improve performance Modified: head/sys/amd64/include/pmap.h ============================================================================== --- head/sys/amd64/include/pmap.h Fri Jun 14 00:02:29 2013 (r251719) +++ head/sys/amd64/include/pmap.h Fri Jun 14 00:03:43 2013 (r251720) @@ -157,11 +157,6 @@ typedef u_int64_t pt_entry_t; typedef u_int64_t pdp_entry_t; typedef u_int64_t pml4_entry_t; -#define PML4ESHIFT (3) -#define PDPESHIFT (3) -#define PTESHIFT (3) -#define PDESHIFT (3) - /* * Address of current address space page table maps and directories. */