summaryrefslogtreecommitdiffstats
path: root/sys/compat/ia32
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2015-05-28 13:12:05 +0000
committerjhb <jhb@FreeBSD.org>2015-05-28 13:12:05 +0000
commit34675faa3be2f4da2fec779e1bc9d7333262df6e (patch)
tree5bac728da31d9c15533930997609d43dd8a9b09a /sys/compat/ia32
parent4530c56768b11d4ab341fc33fc75b9e9f030ef15 (diff)
downloadFreeBSD-src-34675faa3be2f4da2fec779e1bc9d7333262df6e.zip
FreeBSD-src-34675faa3be2f4da2fec779e1bc9d7333262df6e.tar.gz
Fix COMPAT_FREEBSD32 build on ia64. This is a direct commit to
stable/10 since ia64 is not present in head.
Diffstat (limited to 'sys/compat/ia32')
-rw-r--r--sys/compat/ia32/ia32_sysvec.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/compat/ia32/ia32_sysvec.c b/sys/compat/ia32/ia32_sysvec.c
index 27d2d1b..bfc17d6 100644
--- a/sys/compat/ia32/ia32_sysvec.c
+++ b/sys/compat/ia32/ia32_sysvec.c
@@ -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, void *dst, size_t *off)
cpu_max_ext_state_size, NULL);
}
*off = len;
+#endif
}
void
OpenPOWER on IntegriCloud