patch-2.4.21 linux-2.4.21/drivers/char/drm/drm_scatter.h
Next file: linux-2.4.21/drivers/char/drm/drm_vm.h
Previous file: linux-2.4.21/drivers/char/drm/drm_lists.h
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
2003-06-13 07:51:32.000000000 -0700
- Orig file:
linux-2.4.20/drivers/char/drm/drm_scatter.h
- Orig date:
2002-11-28 15:53:12.000000000 -0800
diff -urN linux-2.4.20/drivers/char/drm/drm_scatter.h linux-2.4.21/drivers/char/drm/drm_scatter.h
@@ -93,6 +93,8 @@
return -ENOMEM;
}
+ memset(entry->pagelist, 0, pages * sizeof(*entry->pagelist));
+
entry->busaddr = DRM(alloc)( pages * sizeof(*entry->busaddr),
DRM_MEM_PAGES );
if ( !entry->busaddr ) {
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)