Re: [PATCH] Make v4l-dvb compile under kernels < 2.6.16

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Trent,

Em Dom, 2006-04-09 às 00:17 -0700, Trent Piepho escreveu:
> The new drivers added to Hg don't all compile with kernels older than 2.6.16,
> mostly do to the mutex.h stuff.  This patch will get them all to compile
> cleanly.  Of course I don't have the hardware to test that all the drivers
> actually WORK with older kernels, but they will compile.  Nothing should
> change for kernels >= 2.6.16.
> 
> BTW, this patch would have been about half the work if compat.h would just:
> #define mutex semaphore
> for pre-mutex kernels.  As long as no one tries to export a variable or
> function named mutex, and no one does, it's not going to mess anything up.

Your patch is OK. The rest of mutex conversion is handled by compat.h.
Only struct names are different and should be changed on every file.

I'm applying it at master tree and changing version for the newer files
to 2.6.14 (This is the oldest kernel I have here right now to test).

Cheers, 
Mauro.


_______________________________________________

linux-dvb@xxxxxxxxxxx
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

[Index of Archives]     [Linux Media]     [Video 4 Linux]     [Asterisk]     [Samba]     [Xorg]     [Xfree86]     [Linux USB]

  Powered by Linux