From ea2f256d6db9aac47329731e1507525f6a5cf6fd Mon Sep 17 00:00:00 2001 From: kettenis Date: Mon, 20 Aug 2018 10:00:04 +0000 Subject: [PATCH] Preparations for arm64 radeondrm(4) support. ok jsg@ (who pointed out the kern_pledge.c change was necessary as well) --- sys/kern/kern_pledge.c | 8 ++++---- 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 @@ -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 #include -#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 -- 2.20.1