This commit was manufactured by cvs2svn to create tag
[linux-2.6.git] / drivers / video / aty / radeonfb.h
index 7377cb7..447eb58 100644 (file)
@@ -425,6 +425,8 @@ static inline u32 _INPLL(struct radeonfb_info *rinfo, u32 addr)
                spin_unlock_irqrestore(&rinfo->reg_lock, flags);        \
        } while (0)
 
+#define MS_TO_HZ(ms)       ((ms * HZ + 999) / 1000)
+
 #define BIOS_IN8(v)    (readb(rinfo->bios_seg + (v)))
 #define BIOS_IN16(v)   (readb(rinfo->bios_seg + (v)) | \
                          (readb(rinfo->bios_seg + (v) + 1) << 8))