diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2018-08-20 10:00:05 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2018-08-20 10:00:05 +0000 |
commit | b83c6c6345befb933a1f603dffcd2be5d1ed875e (patch) | |
tree | d7fe183194a21ea386987955aaf19deaa4b9d298 | |
parent | e2c8a02940cb9e7b49aa1c55d7abf38a281143c2 (diff) |
Preparations for arm64 radeondrm(4) support.
ok jsg@ (who pointed out the kern_pledge.c change was necessary as well)
-rw-r--r-- | sys/kern/kern_pledge.c | 8 | ||||
-rw-r--r-- | sys/uvm/uvm_device.c | 8 |
2 files changed, 8 insertions, 8 deletions
diff --git a/sys/kern/kern_pledge.c b/sys/kern/kern_pledge.c index 659e789ba45..be0e31339f4 100644 --- a/sys/kern/kern_pledge.c +++ b/sys/kern/kern_pledge.c @@ -1,4 +1,4 @@ -/* $OpenBSD: kern_pledge.c,v 1.241 2018/08/13 20:31:38 deraadt Exp $ */ +/* $OpenBSD: kern_pledge.c,v 1.242 2018/08/20 10:00:04 kettenis Exp $ */ /* * Copyright (c) 2015 Nicholas Marriott <nicm@openbsd.org> @@ -78,9 +78,9 @@ #endif #endif -#if defined(__amd64__) || defined(__i386__) || \ - defined(__loongson__) || defined(__macppc__) || \ - defined(__sparc64__) +#if defined(__amd64__) || defined(__arm64__) || \ + defined(__i386__) || defined(__loongson__) || \ + defined(__macppc__) || defined(__sparc64__) #include "drm.h" #endif diff --git a/sys/uvm/uvm_device.c b/sys/uvm/uvm_device.c index c6001ec58b5..cfd191bd34f 100644 --- a/sys/uvm/uvm_device.c +++ b/sys/uvm/uvm_device.c @@ -1,4 +1,4 @@ -/* $OpenBSD: uvm_device.c,v 1.54 2017/05/21 13:00:53 visa Exp $ */ +/* $OpenBSD: uvm_device.c,v 1.55 2018/08/20 10:00:04 kettenis Exp $ */ /* $NetBSD: uvm_device.c,v 1.30 2000/11/25 06:27:59 chs Exp $ */ /* @@ -41,9 +41,9 @@ #include <uvm/uvm.h> #include <uvm/uvm_device.h> -#if defined(__amd64__) || defined(__i386__) || \ - defined(__loongson__) || defined(__macppc__) || \ - defined(__sparc64__) +#if defined(__amd64__) || defined(__arm64__) || \ + defined(__i386__) || defined(__loongson__) || \ + defined(__macppc__) || defined(__sparc64__) #include "drm.h" #endif |