PERFORCE change 87984 for review
Warner Losh
imp at FreeBSD.org
Fri Dec 9 15:23:30 PST 2005
http://perforce.freebsd.org/chv.cgi?CH=87984
Change 87984 by imp at 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; \
More information about the p4-projects
mailing list