Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Mar 2018 18:24:21 +0000 (UTC)
From:      Nathan Whitehorn <nwhitehorn@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r330870 - head/sys/powerpc/aim
Message-ID:  <201803131824.w2DIOLTb066232@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: nwhitehorn
Date: Tue Mar 13 18:24:21 2018
New Revision: 330870
URL: https://svnweb.freebsd.org/changeset/base/330870

Log:
  Restore missing temporary variable, deleted by accident in r330845. This
  unbreaks the ppc32 AIM build.
  
  Reported by:	jhibbits

Modified:
  head/sys/powerpc/aim/aim_machdep.c

Modified: head/sys/powerpc/aim/aim_machdep.c
==============================================================================
--- head/sys/powerpc/aim/aim_machdep.c	Tue Mar 13 17:57:53 2018	(r330869)
+++ head/sys/powerpc/aim/aim_machdep.c	Tue Mar 13 18:24:21 2018	(r330870)
@@ -228,9 +228,10 @@ aim_cpu_init(vm_offset_t toc)
 	register_t	msr;
 	uint8_t		*cache_check;
 	int		cacheline_warn;
-	#ifndef __powerpc64__
+#ifndef __powerpc64__
+	register_t	scratch;
 	int		ppc64;
-	#endif
+#endif
 
 	trap_offset = 0;
 	cacheline_warn = 0;



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