summaryrefslogtreecommitdiff
path: root/sys/arch/amd64
diff options
context:
space:
mode:
authorPhilip Guenther <guenther@cvs.openbsd.org>2017-04-13 03:52:26 +0000
committerPhilip Guenther <guenther@cvs.openbsd.org>2017-04-13 03:52:26 +0000
commit0a56ad550d93f3f682ca8025cf0551076161de8d (patch)
tree936e76255cde4d19880af1bc256734c1ee2fdb1e /sys/arch/amd64
parent2cb4e233b2f5b01c7c2be614b500f906457581d4 (diff)
Provide mips64 with kernel-facing TCB_{GET,SET} macros that store it
in struct mdproc. With that, all archs have those and the __HAVE_MD_TCB macro can be unifdef'ed as always defined. ok kettenis@ visa@ jsing@
Diffstat (limited to 'sys/arch/amd64')
-rw-r--r--sys/arch/amd64/include/proc.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/arch/amd64/include/proc.h b/sys/arch/amd64/include/proc.h
index 47c93b892a4..9cb65df8735 100644
--- a/sys/arch/amd64/include/proc.h
+++ b/sys/arch/amd64/include/proc.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: proc.h,v 1.8 2014/03/29 18:09:28 guenther Exp $ */
+/* $OpenBSD: proc.h,v 1.9 2017/04/13 03:52:25 guenther Exp $ */
/* $NetBSD: proc.h,v 1.1 2003/04/26 18:39:46 fvdl Exp $ */
/*
@@ -50,6 +50,4 @@ struct mdproc {
#define MDP_IRET 0x0002 /* return via iret, not sysret */
/* (iret can restore r11 and rcx) */
-#define __HAVE_MD_TCB
-
#endif /* _MACHINE_PROC_H_ */