svn commit: r330870 - head/sys/powerpc/aim

Nathan Whitehorn nwhitehorn at FreeBSD.org
Tue Mar 13 18:24:22 UTC 2018


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;


More information about the svn-src-all mailing list