diff options
author | Jonathan Gray <jsg@jsg.id.au> | 2013-03-12 00:42:37 +1100 |
---|---|---|
committer | Jonathan Gray <jsg@jsg.id.au> | 2013-03-12 00:42:37 +1100 |
commit | 07c8d8691d36ac666024bacfc15182742cd5a7c7 (patch) | |
tree | 5beede9a94663cd379e33f1ce96c4abfa375c692 /sys/dev | |
parent | cc9656e49a6b595557cd3c0ff1f94c024605138f (diff) |
use cpuspeed for now even though we want the max, fixes build on i386
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/pci/drm/intel_pm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/drm/intel_pm.c b/sys/dev/pci/drm/intel_pm.c index 8aa880fd994..a939d6f722b 100644 --- a/sys/dev/pci/drm/intel_pm.c +++ b/sys/dev/pci/drm/intel_pm.c @@ -2870,8 +2870,8 @@ gen6_update_ring_freq(struct drm_device *dev) /* Convert from kHz to MHz */ max_ia_freq /= 1000; #else - /* we ideally want the max so avoid cpuspeed */ - max_ia_freq = (curcpu()->ci_tsc_freq + 4999) / 1000000; + /* XXX we ideally want the max not cpuspeed... */ + max_ia_freq = cpuspeed; #endif /* |