diff options
author | Stephane Marchesin <marchesin@icps.u-strasbg.fr> | 2006-09-07 00:35:17 +0200 |
---|---|---|
committer | Stephane Marchesin <marchesin@icps.u-strasbg.fr> | 2006-09-07 00:35:17 +0200 |
commit | d89c623f8e739815ea952adc77cfe5c0f7204407 (patch) | |
tree | f92658e9ddec33615ec379de225e709ca3b68d45 | |
parent | b119966ae65c9ee74096cf0b246bf7703cb58ec4 (diff) |
Remove a 64 bit div.
-rw-r--r-- | shared-core/nouveau_state.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/shared-core/nouveau_state.c b/shared-core/nouveau_state.c index fbe94641..707d42ef 100644 --- a/shared-core/nouveau_state.c +++ b/shared-core/nouveau_state.c @@ -194,7 +194,7 @@ int nouveau_dma_init(struct drm_device *dev) dev_priv->cmdbuf_obj = nouveau_dma_object_create(dev, cb->start - drm_get_resource_start(dev, 1), cb->size, NV_DMA_ACCESS_RO, NV_DMA_TARGET_VIDMEM); - dev_priv->cmdbuf_ch_size = cb->size / nouveau_fifo_number(dev); + dev_priv->cmdbuf_ch_size = (uint32_t)cb->size / nouveau_fifo_number(dev); dev_priv->cmdbuf_alloc = cb; DRM_INFO("DMA command buffer is %dKiB at 0x%08x(%s)\n", |