svn commit: r285681 - head/sys/boot/arm/ixp425/boot2

John-Mark Gurney jmg at FreeBSD.org
Sat Jul 18 20:19:52 UTC 2015


Author: jmg
Date: Sat Jul 18 20:19:51 2015
New Revision: 285681
URL: https://svnweb.freebsd.org/changeset/base/285681

Log:
  revert r278579, this is in a different compile environment than the
  kernel, and needs to be named cpu_id...
  
  Pointed out by:	Berislav Purgar

Modified:
  head/sys/boot/arm/ixp425/boot2/ixp425_board.c

Modified: head/sys/boot/arm/ixp425/boot2/ixp425_board.c
==============================================================================
--- head/sys/boot/arm/ixp425/boot2/ixp425_board.c	Sat Jul 18 19:59:29 2015	(r285680)
+++ head/sys/boot/arm/ixp425/boot2/ixp425_board.c	Sat Jul 18 20:19:51 2015	(r285681)
@@ -74,7 +74,7 @@ board_init(void)
 {
 	struct board_config **pbp;
 
-	cputype = cpu_ident() & CPU_ID_CPU_MASK;
+	cputype = cpu_id() & CPU_ID_CPU_MASK;
 
 	SET_FOREACH(pbp, boards)
 		/* XXX pass down redboot board type */


More information about the svn-src-head mailing list