Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 Dec 2005 23:23:17 GMT
From:      Warner Losh <imp@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 87984 for review
Message-ID:  <200512092323.jB9NNHXD048417@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
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;		\



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200512092323.jB9NNHXD048417>