svn commit: r202997 - head/sys/mips/cavium

Warner Losh imp at FreeBSD.org
Tue Jan 26 02:39:15 UTC 2010


Author: imp
Date: Tue Jan 26 02:39:14 2010
New Revision: 202997
URL: http://svn.freebsd.org/changeset/base/202997

Log:
  Doh.  Remove extra pcpu initialization that I thought was needed, but
  isn't needed since we moved all that into mips_pcpu0_init.

Modified:
  head/sys/mips/cavium/octeon_machdep.c

Modified: head/sys/mips/cavium/octeon_machdep.c
==============================================================================
--- head/sys/mips/cavium/octeon_machdep.c	Tue Jan 26 02:26:04 2010	(r202996)
+++ head/sys/mips/cavium/octeon_machdep.c	Tue Jan 26 02:39:14 2010	(r202997)
@@ -76,7 +76,6 @@ __FBSDID("$FreeBSD$");
 #define MAX_APP_DESC_ADDR     0xafffffff
 #endif
 
-static struct pcpu pcpu0;
 extern int	*edata;
 extern int	*end;
 
@@ -739,7 +738,6 @@ platform_start(__register_t a0, __regist
 	octeon_ciu_reset();
 	octeon_boot_params_init(a3);
 	bootverbose = 1;
-	cpuid_to_pcpu[0] = &pcpu0;
 
 	/*
 	 * For some reason on the cn38xx simulator ebase register is set to


More information about the svn-src-all mailing list