diff options
author | Owain Ainsworth <oga@cvs.openbsd.org> | 2008-05-27 19:35:23 +0000 |
---|---|---|
committer | Owain Ainsworth <oga@cvs.openbsd.org> | 2008-05-27 19:35:23 +0000 |
commit | ecd873ee1ede63593afa42b0bc60c2fb9cddd692 (patch) | |
tree | b66d3a8e1f1eae841553322edf779eaf6b0c6e7f /sys | |
parent | 692bec4f81169cf6e3442e761597799a266f5fe1 (diff) |
Fix jiffies.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/pci/drm/drmP.h | 3 |
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__ */ |