summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorPhilip Guenthe <guenther@cvs.openbsd.org>2011-12-24 04:27:57 +0000
committerPhilip Guenthe <guenther@cvs.openbsd.org>2011-12-24 04:27:57 +0000
commit9ae881d6aa32672364fa2cb6a7d98ec9563a1c7d (patch)
tree75539f86004b4c15883a7aebfae01e70fe21f3f6 /sys/arch
parent4b8b462779fb9eb85d071edc0ef1951408174357 (diff)
i386 has MD TCB, so add the #define. Not sure how I overlooked
this for so long, but fixes SEGV on errno access with librthread. Apologies to jeremy@, todd@, robert@ and others for taking so long to track this down
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/i386/include/proc.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/arch/i386/include/proc.h b/sys/arch/i386/include/proc.h
index 8027e2f3e27..87af97caf14 100644
--- a/sys/arch/i386/include/proc.h
+++ b/sys/arch/i386/include/proc.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: proc.h,v 1.5 2007/04/03 10:14:47 art Exp $ */
+/* $OpenBSD: proc.h,v 1.6 2011/12/24 04:27:56 guenther Exp $ */
/* $NetBSD: proc.h,v 1.10 1995/08/06 05:33:23 mycroft Exp $ */
/*
@@ -44,3 +44,5 @@ struct mdproc {
/* md_flags */
#define MDP_USEDFPU 0x0001 /* has used the FPU */
+
+#define __HAVE_MD_TCB