PERFORCE change 113305 for review

Kevin Lo kevlo at FreeBSD.org
Mon Jan 22 05:42:15 UTC 2007


http://perforce.freebsd.org/chv.cgi?CH=113305

Change 113305 by kevlo at kevlo_rtsl on 2007/01/22 05:41:56

	Cleanup.

Affected files ...

.. //depot/projects/arm/src/sys/arm/xscale/pxa2x0/gumstix_machdep.c#2 edit

Differences ...

==== //depot/projects/arm/src/sys/arm/xscale/pxa2x0/gumstix_machdep.c#2 (text+ko) ====

@@ -407,8 +407,6 @@
 	physmem = 0;
 	for (i = 0; i < PXA2X0_SDRAM_BANKS; i++) {
 		physmem += memsize[i] / PAGE_SIZE;
-		if (memsize[i] != 0)
-			avail_end = memstart[i] + memsize[i] - 1;
 	}
 
 	/* Fire up consoles. */
@@ -420,7 +418,7 @@
 	undefined_handler_address = (u_int)undefinedinstruction_bounce;
 	undefined_init();
 
-	proc_linkup(&proc0, &ksegrp0, &thread0);
+	proc_linkup(&proc0, &thread0);
 	thread0.td_kstack = kernelstack.pv_va;
 	thread0.td_pcb = (struct pcb *)
 		(thread0.td_kstack + KSTACK_PAGES * PAGE_SIZE) - 1;


More information about the p4-projects mailing list