diff options
author | 2018-05-28 19:36:43 +0000 | |
---|---|---|
committer | 2018-05-28 19:36:43 +0000 | |
commit | d1acf1c22cbb284836f47082c07f3d63c6f5fb2b (patch) | |
tree | 6bd78477cb9e119f11fe901950cc6cc6473e88be | |
parent | Call readdisksector() instead of rolling our own. Drop <sys/systm.h> (diff) | |
download | wireguard-openbsd-d1acf1c22cbb284836f47082c07f3d63c6f5fb2b.tar.xz wireguard-openbsd-d1acf1c22cbb284836f47082c07f3d63c6f5fb2b.zip |
Drop include of <arm64/swi.h> and remove it.
ok drahm@
-rw-r--r-- | lib/libc/arch/aarch64/SYS.h | 3 | ||||
-rw-r--r-- | sys/arch/arm64/include/swi.h | 23 |
2 files changed, 1 insertions, 25 deletions
diff --git a/lib/libc/arch/aarch64/SYS.h b/lib/libc/arch/aarch64/SYS.h index e52b7fe5ebf..6b74cb7a4e1 100644 --- a/lib/libc/arch/aarch64/SYS.h +++ b/lib/libc/arch/aarch64/SYS.h @@ -1,4 +1,4 @@ -/* $OpenBSD: SYS.h,v 1.1 2017/01/11 18:09:24 patrick Exp $ */ +/* $OpenBSD: SYS.h,v 1.2 2018/05/28 19:36:43 kettenis Exp $ */ /* $NetBSD: SYS.h,v 1.8 2003/08/07 16:42:02 agc Exp $ */ /*- @@ -37,7 +37,6 @@ #include "DEFS.h" #include <sys/syscall.h> -#include <arm64/swi.h> #define SYSENTRY(x) \ .weak _C_LABEL(x); \ diff --git a/sys/arch/arm64/include/swi.h b/sys/arch/arm64/include/swi.h deleted file mode 100644 index 85cedd5e15c..00000000000 --- a/sys/arch/arm64/include/swi.h +++ /dev/null @@ -1,23 +0,0 @@ -/* $OpenBSD: swi.h,v 1.1 2016/12/17 23:38:33 patrick Exp $ */ -/* $NetBSD: swi.h,v 1.1 2002/01/13 15:03:06 bjh21 Exp $ */ - -/* - * This file is in the Public Domain. - * Ben Harris, 2002. - */ - -#ifndef _MACHINE_SWI_H_ -#define _MACHINE_SWI_H_ - -#define SWI_OS_MASK 0xf00000 -#define SWI_OS_RISCOS 0x000000 -#define SWI_OS_RISCIX 0x800000 -#define SWI_OS_LINUX 0x900000 -#define SWI_OS_NETBSD 0xa00000 -#define SWI_OS_ARM 0xf00000 - -#define SWI_IMB 0xf00000 -#define SWI_IMBrange 0xf00001 - -#endif - |