Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 May 2015 13:12:06 +0000 (UTC)
From:      John Baldwin <jhb@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org
Subject:   svn commit: r283646 - stable/10/sys/compat/ia32
Message-ID:  <201505281312.t4SDC6Ok018522@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



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