summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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