diff options
| author | Alan Hourihane <alanh@fairlite.demon.co.uk> | 2001-08-19 15:20:08 +0000 | 
|---|---|---|
| committer | Alan Hourihane <alanh@fairlite.demon.co.uk> | 2001-08-19 15:20:08 +0000 | 
| commit | f4c2f1400203434d9a5392b990aaa4fa32dce9c5 (patch) | |
| tree | 85cfb2292942fb8ddd4f44dc94275433dc74df05 /linux/drm_fops.h | |
| parent | 8aaf82d45c406220d5f18168e4350827a9e038e2 (diff) | |
No one's maintaining 2.2.x support - so remove all the cruft.
Diffstat (limited to 'linux/drm_fops.h')
| -rw-r--r-- | linux/drm_fops.h | 18 | 
1 files changed, 1 insertions, 17 deletions
| diff --git a/linux/drm_fops.h b/linux/drm_fops.h index 3656c5e9..d8e9112f 100644 --- a/linux/drm_fops.h +++ b/linux/drm_fops.h @@ -191,24 +191,8 @@ int DRM(write_string)(drm_device_t *dev, const char *s)  		send -= count;  	} -#if LINUX_VERSION_CODE < 0x020315 && !defined(KILLFASYNCHASTHREEPARAMETERS) -	/* The extra parameter to kill_fasync was added in 2.3.21, and is -           _not_ present in _stock_ 2.2.14 and 2.2.15.  However, some -           distributions patch 2.2.x kernels to add this parameter.  The -           Makefile.linux attempts to detect this addition and defines -           KILLFASYNCHASTHREEPARAMETERS if three parameters are found. */ -	if (dev->buf_async) kill_fasync(dev->buf_async, SIGIO); -#else - -				/* Parameter added in 2.3.21. */ -#if LINUX_VERSION_CODE < 0x020400 -	if (dev->buf_async) kill_fasync(dev->buf_async, SIGIO, POLL_IN); -#else -				/* Type of first parameter changed in -                                   Linux 2.4.0-test2... */  	if (dev->buf_async) kill_fasync(&dev->buf_async, SIGIO, POLL_IN); -#endif -#endif +  	DRM_DEBUG("waking\n");  	wake_up_interruptible(&dev->buf_readers);  	return 0; | 
