Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 2 Mar 2012 20:34:15 +0000 (UTC)
From:      Juli Mallett <jmallett@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r232402 - head/sys/mips/cavium
Message-ID:  <201203022034.q22KYFdC046223@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jmallett
Date: Fri Mar  2 20:34:15 2012
New Revision: 232402
URL: http://svn.freebsd.org/changeset/base/232402

Log:
  Unbreak SMP on stock Octeon systems -- copy the core_mask from bootinfo into
  sysinfo.  This should have been done as part of replacing bootinfo with sysinfo.

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

Modified: head/sys/mips/cavium/octeon_machdep.c
==============================================================================
--- head/sys/mips/cavium/octeon_machdep.c	Fri Mar  2 18:55:19 2012	(r232401)
+++ head/sys/mips/cavium/octeon_machdep.c	Fri Mar  2 20:34:15 2012	(r232402)
@@ -575,6 +575,7 @@ octeon_process_app_desc_ver_6(void)
 		octeon_bootinfo->compact_flash_common_base_addr;
 	cvmx_sysinfo_get()->compact_flash_attribute_base_addr = 
 		octeon_bootinfo->compact_flash_attribute_base_addr;
+	cvmx_sysinfo_get()->core_mask = octeon_bootinfo->core_mask;
 }
 
 static void



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