Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Jan 2010 02:39:14 +0000 (UTC)
From:      Warner Losh <imp@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r202997 - head/sys/mips/cavium
Message-ID:  <201001260239.o0Q2dEZB052418@svn.freebsd.org>

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



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