summaryrefslogtreecommitdiff
path: root/sys/kern
diff options
context:
space:
mode:
authorVisa Hankala <visa@cvs.openbsd.org>2017-05-21 13:00:54 +0000
committerVisa Hankala <visa@cvs.openbsd.org>2017-05-21 13:00:54 +0000
commit799df8f1ea252a453c6519ce1108d5bb52ca6109 (patch)
tree09db6f2494a20adffaa9a5acbdd05425f5ef3761 /sys/kern
parented3a9a1e17cf4ba2d1a8476904c0e1e989ac1aa1 (diff)
Enable radeondrm(4) on loongson to get accelerated graphics
with the RS780E chipset. OK kettenis@, jsg@
Diffstat (limited to 'sys/kern')
-rw-r--r--sys/kern/kern_pledge.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/kern/kern_pledge.c b/sys/kern/kern_pledge.c
index 20b1e70401d..ef4c766b263 100644
--- a/sys/kern/kern_pledge.c
+++ b/sys/kern/kern_pledge.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kern_pledge.c,v 1.208 2017/05/02 16:46:00 natano Exp $ */
+/* $OpenBSD: kern_pledge.c,v 1.209 2017/05/21 13:00:53 visa Exp $ */
/*
* Copyright (c) 2015 Nicholas Marriott <nicm@openbsd.org>
@@ -77,7 +77,8 @@
#endif
#if defined(__amd64__) || defined(__i386__) || \
- defined(__macppc__) || defined(__sparc64__)
+ defined(__loongson__) || defined(__macppc__) || \
+ defined(__sparc64__)
#include "drm.h"
#endif