summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorOwain Ainsworth <oga@cvs.openbsd.org>2008-05-27 19:35:23 +0000
committerOwain Ainsworth <oga@cvs.openbsd.org>2008-05-27 19:35:23 +0000
commitecd873ee1ede63593afa42b0bc60c2fb9cddd692 (patch)
treeb66d3a8e1f1eae841553322edf779eaf6b0c6e7f /sys
parent692bec4f81169cf6e3442e761597799a266f5fe1 (diff)
Fix jiffies.
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/pci/drm/drmP.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/pci/drm/drmP.h b/sys/dev/pci/drm/drmP.h
index 2b0cc8e7f64..d421372a735 100644
--- a/sys/dev/pci/drm/drmP.h
+++ b/sys/dev/pci/drm/drmP.h
@@ -347,7 +347,8 @@ extern drm_device_t *drm_units[];
#elif defined(__OpenBSD__)
/* DRM_SUSER returns true if the user is superuser */
#define DRM_SUSER(p) (suser(p, p->p_acflag) == 0)
-#define jiffies 0
+extern int ticks; /* really should be in a header */
+#define jiffies ticks
#define DRM_MTRR_WC MDF_WRITECOMBINE
#endif /* __OpenBSD__ */