patch-2.3.19 linux/drivers/char/drm/fops.c

Next file: linux/drivers/char/joystick/joystick.c
Previous file: linux/drivers/char/cyclades.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.18/linux/drivers/char/drm/fops.c linux/drivers/char/drm/fops.c
@@ -76,7 +76,7 @@
 	drm_device_t  *dev    = priv->dev;
 
 	DRM_DEBUG("pid = %d, device = 0x%x, open_count = %d, f_count = %d\n",
-		  current->pid, dev->device, dev->open_count, filp->f_count);
+		  current->pid, dev->device, dev->open_count, atomic_read(&filp->f_count));
 	return 0;
 }
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)