summaryrefslogtreecommitdiff
path: root/sys/dev/pci/drm
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2015-06-24 19:01:52 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2015-06-24 19:01:52 +0000
commit51d34b7ef8bbbc82e6305f0580b018228f0c5a63 (patch)
tree7ff26ce5776416375809899e88e908b3de19c929 /sys/dev/pci/drm
parentc2e52999c2a53d1f68800cd37906ce16d64f0ab5 (diff)
#undef HZ before defining it such that compiling a kernel with -DHZ=xxx works.
Diffstat (limited to 'sys/dev/pci/drm')
-rw-r--r--sys/dev/pci/drm/drm_linux.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/pci/drm/drm_linux.h b/sys/dev/pci/drm/drm_linux.h
index 7f7e5f2d03a..514de9b75d1 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.29 2015/06/24 17:59:42 kettenis Exp $ */
+/* $OpenBSD: drm_linux.h,v 1.30 2015/06/24 19:01:51 kettenis Exp $ */
/*
* Copyright (c) 2013, 2014 Mark Kettenis
*
@@ -376,6 +376,7 @@ extern struct timeval ns_to_timeval(const int64_t);
extern int ticks;
#define jiffies ticks
+#undef HZ
#define HZ hz
static inline unsigned long