From owner-p4-projects@FreeBSD.ORG Fri Dec 9 23:23:30 2005 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 30F7E16A422; Fri, 9 Dec 2005 23:23:30 +0000 (GMT) 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 CF41416A420 for ; Fri, 9 Dec 2005 23:23:29 +0000 (GMT) (envelope-from imp@freebsd.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0ED5243D83 for ; Fri, 9 Dec 2005 23:23:18 +0000 (GMT) (envelope-from imp@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 jB9NNHAN048420 for ; Fri, 9 Dec 2005 23:23:17 GMT (envelope-from imp@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id jB9NNHXD048417 for perforce@freebsd.org; Fri, 9 Dec 2005 23:23:17 GMT (envelope-from imp@freebsd.org) Date: Fri, 9 Dec 2005 23:23:17 GMT Message-Id: <200512092323.jB9NNHXD048417@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to imp@freebsd.org using -f From: Warner Losh To: Perforce Change Reviews Cc: Subject: PERFORCE change 87984 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: Fri, 09 Dec 2005 23:23:30 -0000 http://perforce.freebsd.org/chv.cgi?CH=87984 Change 87984 by imp@imp_Speedy on 2005/12/09 23:22:37 Remove #if 0 around bogus code that cognet sent me the replacement for on IRC. Affected files ... .. //depot/projects/arm/src/sys/arm/at91/kb920x_machdep.c#5 edit Differences ... ==== //depot/projects/arm/src/sys/arm/at91/kb920x_machdep.c#5 (text+ko) ==== @@ -228,15 +228,9 @@ freemempos = ((vm_offset_t)&end + PAGE_MASK) & ~PAGE_MASK; /* Define a macro to simplify memory allocation */ printf("freemempos %x\n", freemempos); -#if 0 -#define valloc_pages(var, np) \ - alloc_pages((var).pv_pa, (np)); \ - (var).pv_va = (var).pv_pa + (KERNVIRTADDR - KERNPHYSADDR); -#else #define valloc_pages(var, np) \ alloc_pages((var).pv_va, (np)); \ (var).pv_pa = (var).pv_va + (KERNPHYSADDR - KERNVIRTADDR); -#endif #define alloc_pages(var, np) \ (var) = freemempos; \