diff options
author | Philip Guenther <guenther@cvs.openbsd.org> | 2017-04-13 03:52:26 +0000 |
---|---|---|
committer | Philip Guenther <guenther@cvs.openbsd.org> | 2017-04-13 03:52:26 +0000 |
commit | 0a56ad550d93f3f682ca8025cf0551076161de8d (patch) | |
tree | 936e76255cde4d19880af1bc256734c1ee2fdb1e /sys/kern/kern_exec.c | |
parent | 2cb4e233b2f5b01c7c2be614b500f906457581d4 (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/kern/kern_exec.c')
-rw-r--r-- | sys/kern/kern_exec.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/sys/kern/kern_exec.c b/sys/kern/kern_exec.c index 6d12ae1931c..7784d5f4165 100644 --- a/sys/kern/kern_exec.c +++ b/sys/kern/kern_exec.c @@ -1,4 +1,4 @@ -/* $OpenBSD: kern_exec.c,v 1.187 2017/02/11 19:51:06 guenther Exp $ */ +/* $OpenBSD: kern_exec.c,v 1.188 2017/04/13 03:52:25 guenther Exp $ */ /* $NetBSD: kern_exec.c,v 1.75 1996/02/09 18:59:28 christos Exp $ */ /*- @@ -61,10 +61,7 @@ #include <sys/syscallargs.h> #include <uvm/uvm_extern.h> - -#ifdef __HAVE_MD_TCB -# include <machine/tcb.h> -#endif +#include <machine/tcb.h> const struct kmem_va_mode kv_exec = { .kv_wait = 1, |