[patch] Re: Making reclaim_buffers OS-independent

2004-10-31 Thread Felix Kühling
A patch is attached. It changes both linux/linux-2.6 and linux-core. I tested that it compiles (linux-2.6 and linux-core) and loads all modules (except radeon, which failed because I don't have the necessary i2c bits in my kernel). Any objections to applying this? Regards, Felix Am Sa, den

Re: [patch] Re: Making reclaim_buffers OS-independent

2004-10-31 Thread Dave Airlie
A patch is attached. It changes both linux/linux-2.6 and linux-core. I tested that it compiles (linux-2.6 and linux-core) and loads all modules (except radeon, which failed because I don't have the necessary i2c bits in my kernel). Any objections to applying this? Looks good to me apply

Making reclaim_buffers OS-independent

2004-10-30 Thread Felix Kühling
Currenly in linux-core the driver callback reclaim_buffers is called with a single argument filp. In reclaim_buffers you need OS-specific knowledge to extract the device pointer from the filp. In the BSD DRM reclaim_buffers takes two arguments, dev and filp. Could we change the linux version to