/* This is a hack to work around mysterious freezes on certain * systems: */ radeon_acknowledge_irqs( dev_priv );  
static int radeon_wait_irq(drm_device_t *dev, int swi_nr){  	drm_radeon_private_t *dev_priv = 	   (drm_radeon_private_t *)dev->dev_private;	int ret = 0; 	if (RADEON_READ( RADEON_LAST_SWI_REG ) >= swi_nr)   		return 0; 	dev_priv->stats.boxes |= RADEON_BOX_WAIT_IDLE;	/* This is a hack to work around mysterious freezes on certain	 * systems:	 */ 	radeon_acknowledge_irqs( dev_priv );	DRM_WAIT_ON( ret, dev_priv->swi_queue, 3 * DRM_HZ, 		     RADEON_READ( RADEON_LAST_SWI_REG ) >= swi_nr );	return ret;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/74e8ebc55d85ca1acb3e73610965bea63cc39054/radeon_irq.c/clean/drivers/char/drm/radeon_irq.c