summaryrefslogtreecommitdiff
path: root/sys/arch/alpha/include/proc.h
diff options
context:
space:
mode:
authorPhilip Guenther <guenther@cvs.openbsd.org>2016-05-15 23:37:43 +0000
committerPhilip Guenther <guenther@cvs.openbsd.org>2016-05-15 23:37:43 +0000
commitaa94d813ac15b199cd5c03e8d728522b43e8c562 (patch)
tree5f7cdc5a18b6e36db83a8235b250ec2e05a6420d /sys/arch/alpha/include/proc.h
parentaa6cdb54ee75d8ad2bb5b8ac2a496b546bee324f (diff)
Implement TCB_{GET,SET} using PAL_{rd,wr}unique.
Inline asm from NetBSD testing deraadt@
Diffstat (limited to 'sys/arch/alpha/include/proc.h')
-rw-r--r--sys/arch/alpha/include/proc.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/arch/alpha/include/proc.h b/sys/arch/alpha/include/proc.h
index b75d3bbe9e4..1e4a41939f3 100644
--- a/sys/arch/alpha/include/proc.h
+++ b/sys/arch/alpha/include/proc.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: proc.h,v 1.11 2012/11/01 21:09:17 miod Exp $ */
+/* $OpenBSD: proc.h,v 1.12 2016/05/15 23:37:42 guenther Exp $ */
/* $NetBSD: proc.h,v 1.2 1995/03/24 15:01:36 cgd Exp $ */
/*
@@ -46,6 +46,8 @@ struct mdproc {
struct mdbpt md_sstep[2]; /* two breakpoints for sstep */
};
+#define __HAVE_MD_TCB
+
/*
* md_flags usage
* --------------