From 0433f8855f56806dbf9ff30239e5c3825dd7ae20 Mon Sep 17 00:00:00 2001 From: Jonathan Gray Date: Mon, 13 May 2013 14:15:47 +1000 Subject: make most of the atombios code compile --- sys/dev/pci/drm/drmP.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sys/dev/pci/drm/drmP.h') diff --git a/sys/dev/pci/drm/drmP.h b/sys/dev/pci/drm/drmP.h index 1c8f5c67e84..23ebb79958c 100644 --- a/sys/dev/pci/drm/drmP.h +++ b/sys/dev/pci/drm/drmP.h @@ -262,6 +262,8 @@ mdelay(unsigned long msecs) DELAY(1000); } +#define drm_can_sleep() (hz & 1) + #define LOCK_TEST_WITH_RETURN(dev, file_priv) \ do { \ if (!_DRM_LOCK_IS_HELD(dev->lock.hw_lock->lock) || \ -- cgit v1.2.3