summaryrefslogtreecommitdiffstats
path: root/sys/arch/sh
diff options
context:
space:
mode:
authorguenther <guenther@openbsd.org>2017-04-13 03:52:25 +0000
committerguenther <guenther@openbsd.org>2017-04-13 03:52:25 +0000
commitf5d56f6d1abf3988ecad6e5bcc0d9e60de25e475 (patch)
treeac9e473e35f69727b04f30b9dc4b858b32ab61f9 /sys/arch/sh
parentInspired by recent dhcrelay changes, bring in stricter CFLAGS! (diff)
downloadwireguard-openbsd-f5d56f6d1abf3988ecad6e5bcc0d9e60de25e475.tar.xz
wireguard-openbsd-f5d56f6d1abf3988ecad6e5bcc0d9e60de25e475.zip
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/sh')
-rw-r--r--sys/arch/sh/include/proc.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/arch/sh/include/proc.h b/sys/arch/sh/include/proc.h
index 7944233f061..b528cea078f 100644
--- a/sys/arch/sh/include/proc.h
+++ b/sys/arch/sh/include/proc.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: proc.h,v 1.3 2016/05/18 20:21:13 guenther Exp $ */
+/* $OpenBSD: proc.h,v 1.4 2017/04/13 03:52:25 guenther Exp $ */
/* $NetBSD: proc.h,v 1.10 2005/12/11 12:18:58 christos Exp $ */
/*
@@ -57,8 +57,6 @@ struct mdproc {
struct md_upte md_upte[UPAGES * 2];
};
-#define __HAVE_MD_TCB
-
/* md_flags */
#define MDP_USEDFPU 0x0001 /* has used the FPU */
#define MDP_STEP 0x0002 /* single step */