patch-2.4.9 linux/drivers/char/drm/ffb_context.c
Next file: linux/drivers/char/drm/ffb_drv.c
Previous file: linux/drivers/char/drm/drm_vm.h
Back to the patch index
Back to the overall index
- Lines: 15
- Date:
Sun Aug 12 11:23:32 2001
- Orig file:
v2.4.8/linux/drivers/char/drm/ffb_context.c
- Orig date:
Sun Aug 12 13:27:59 2001
diff -u --recursive --new-file v2.4.8/linux/drivers/char/drm/ffb_context.c linux/drivers/char/drm/ffb_context.c
@@ -1,4 +1,4 @@
-/* $Id: ffb_context.c,v 1.4 2000/08/29 07:01:55 davem Exp $
+/* $Id: ffb_context.c,v 1.5 2001/08/09 17:47:51 davem Exp $
* ffb_context.c: Creator/Creator3D DRI/DRM context switching.
*
* Copyright (C) 2000 David S. Miller (davem@redhat.com)
@@ -357,8 +357,6 @@
int DRM(context_switch)(drm_device_t *dev, int old, int new)
{
ffb_dev_priv_t *fpriv = (ffb_dev_priv_t *) dev->dev_private;
-
- atomic_inc(&dev->total_ctx);
#if DRM_DMA_HISTOGRAM
dev->ctx_start = get_cycles();
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)