From owner-p4-projects@FreeBSD.ORG Sun Mar 19 02:46:53 2006 Return-Path: X-Original-To: p4-projects@freebsd.org Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 52C0E16A422; Sun, 19 Mar 2006 02:46:53 +0000 (UTC) X-Original-To: perforce@freebsd.org Delivered-To: perforce@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 30C5916A41F for ; Sun, 19 Mar 2006 02:46:53 +0000 (UTC) (envelope-from kmacy@freebsd.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0102C43D45 for ; Sun, 19 Mar 2006 02:46:53 +0000 (GMT) (envelope-from kmacy@freebsd.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id k2J2kql8046602 for ; Sun, 19 Mar 2006 02:46:52 GMT (envelope-from kmacy@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id k2J2kqXp046599 for perforce@freebsd.org; Sun, 19 Mar 2006 02:46:52 GMT (envelope-from kmacy@freebsd.org) Date: Sun, 19 Mar 2006 02:46:52 GMT Message-Id: <200603190246.k2J2kqXp046599@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to kmacy@freebsd.org using -f From: Kip Macy To: Perforce Change Reviews Cc: Subject: PERFORCE change 93534 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 Mar 2006 02:46:53 -0000 http://perforce.freebsd.org/chv.cgi?CH=93534 Change 93534 by kmacy@kmacy_storage:sun4vtmp on 2006/03/19 02:46:30 fix signature for pmap_remove_tte Affected files ... .. //depot/projects/kmacy_sun4v/src/sys/sun4v/sun4v/pmap.c#31 edit Differences ... ==== //depot/projects/kmacy_sun4v/src/sys/sun4v/sun4v/pmap.c#31 (text+ko) ==== @@ -72,7 +72,7 @@ #include -#if 0 +#if 1 #define PMAP_DEBUG #endif #ifndef PMAP_SHPGPERPROC @@ -180,7 +180,7 @@ static void pmap_insert_entry(pmap_t pmap, vm_offset_t va, vm_page_t m); static void pmap_remove_entry(struct pmap *pmap, vm_page_t m, vm_offset_t va); -static int pmap_remove_tte(pmap_t pmap, uint64_t *tte, vm_offset_t va); +static void pmap_remove_tte(pmap_t pmap, uint64_t *tte, vm_offset_t va); /* * Quick sort callout for comparing memory regions. @@ -1388,7 +1388,7 @@ /* disgusting hack to avoid TSB misses on kernel pages * this will need to be fixed some time soon */ - +#if 0 tm = m; tcount = count; @@ -1400,9 +1400,7 @@ va += PAGE_SIZE; tm++; } - - - +#endif } /* @@ -1634,7 +1632,7 @@ size -= bytes_zeroed; } } -static int +static void pmap_remove_tte(pmap_t pmap, uint64_t *tte, vm_offset_t va) {