@ -622,16 +615,20 @@
if ( dev->dev_private ) {
drm_r128_private_t *dev_priv = dev->dev_private;
+#if __REALLY_HAVE_SG
if ( !dev_priv->is_pci ) {
+#endif
DRM_IOREMAPFREE( dev_priv->cce_ring );
DRM_IOREMAPFREE( dev_priv->ring_rptr );
DRM_IOREMAPFREE( dev_priv->buffers );
+#if __REALLY_HAVE_SG
} else {
if (!DRM(ati_pcigart_cleanup)( dev,
dev_priv->phys_pci_gart,
dev_priv->bus_pci_gart
))
DRM_ERROR( "failed to cleanup PCI
GART!\n" );
}
+#endif
is the only worthy change to drivers/char/drm/r128_cce.c that I can
think of that can cause this, could you try to just remove the #if's ?
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/