svn commit: r191453 - projects/mips/sys/mips/mips
Oleksandr Tymoshenko
gonzo at FreeBSD.org
Fri Apr 24 05:28:45 UTC 2009
Author: gonzo
Date: Fri Apr 24 05:28:44 2009
New Revision: 191453
URL: http://svn.freebsd.org/changeset/base/191453
Log:
Fix cut'n'paste code. cfg3 should get the value of selector 3
Spotted by: thompa@
Modified:
projects/mips/sys/mips/mips/cpu.c
Modified: projects/mips/sys/mips/mips/cpu.c
==============================================================================
--- projects/mips/sys/mips/mips/cpu.c Fri Apr 24 04:18:16 2009 (r191452)
+++ projects/mips/sys/mips/mips/cpu.c Fri Apr 24 05:28:44 2009 (r191453)
@@ -242,7 +242,7 @@ cpu_identify(void)
/* If config register selection 3 does not exist, exit. */
if (!(cfg2 & MIPS3_CONFIG_CM))
return;
- cfg3 = mips_rd_config_sel2();
+ cfg3 = mips_rd_config_sel3();
/* Print Config3 if it contains any useful info */
if (cfg3 & ~(0x80000000))
More information about the svn-src-projects
mailing list