svn commit: r283646 - stable/10/sys/compat/ia32

John Baldwin jhb at FreeBSD.org
Thu May 28 13:12:06 UTC 2015


Author: jhb
Date: Thu May 28 13:12:05 2015
New Revision: 283646
URL: https://svnweb.freebsd.org/changeset/base/283646

Log:
  Fix COMPAT_FREEBSD32 build on ia64.  This is a direct commit to
  stable/10 since ia64 is not present in head.

Modified:
  stable/10/sys/compat/ia32/ia32_sysvec.c

Modified: stable/10/sys/compat/ia32/ia32_sysvec.c
==============================================================================
--- stable/10/sys/compat/ia32/ia32_sysvec.c	Thu May 28 12:33:21 2015	(r283645)
+++ stable/10/sys/compat/ia32/ia32_sysvec.c	Thu May 28 13:12:05 2015	(r283646)
@@ -192,6 +192,7 @@ SYSINIT(kia32, SI_SUB_EXEC, SI_ORDER_ANY
 void
 elf32_dump_thread(struct thread *td, void *dst, size_t *off)
 {
+#ifdef __amd64__
 	void *buf;
 	size_t len;
 
@@ -209,6 +210,7 @@ elf32_dump_thread(struct thread *td, voi
 			    cpu_max_ext_state_size, NULL);
 	}
 	*off = len;
+#endif
 }
 
 void


More information about the svn-src-all mailing list