summaryrefslogtreecommitdiff
path: root/sys/dev/pci/drm/drm_linux.h
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2018-07-27 21:11:32 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2018-07-27 21:11:32 +0000
commit3b114c34e6614b435b0a06f887b6f1db3301a4e0 (patch)
tree480fdc21685977ebbc91e4d096afb28357562cc7 /sys/dev/pci/drm/drm_linux.h
parente3e42a1073435ff391c9d2a864c400dbf316b4cb (diff)
Use the MI interrupt enable/distable API instead of the MD one on amd64 and
remove the MD API. ok guenther@, deraadt@, mpi@
Diffstat (limited to 'sys/dev/pci/drm/drm_linux.h')
-rw-r--r--sys/dev/pci/drm/drm_linux.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/pci/drm/drm_linux.h b/sys/dev/pci/drm/drm_linux.h
index f5364511e56..40f0da1f614 100644
--- a/sys/dev/pci/drm/drm_linux.h
+++ b/sys/dev/pci/drm/drm_linux.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: drm_linux.h,v 1.89 2018/06/25 22:29:16 kettenis Exp $ */
+/* $OpenBSD: drm_linux.h,v 1.90 2018/07/27 21:11:31 kettenis Exp $ */
/*
* Copyright (c) 2013, 2014, 2015 Mark Kettenis
* Copyright (c) 2017 Martin Pieuchot
@@ -898,8 +898,8 @@ void flush_delayed_work(struct delayed_work *);
typedef void *async_cookie_t;
#define async_schedule(func, data) (func)((data), NULL)
-#define local_irq_disable() disable_intr()
-#define local_irq_enable() enable_intr()
+#define local_irq_disable() intr_disable()
+#define local_irq_enable() intr_enable()
#define setup_timer(x, y, z) timeout_set((x), (void (*)(void *))(y), (void *)(z))
#define mod_timer(x, y) timeout_add((x), (y - jiffies))