Re: Building comedi on 2.6.20-rt8

On Friday 16 February 2007 11:48 am, Anders Blomdell wrote:
> Hence in 2.6.20-rt8 Ingo quite correctly removed these, should a patch
> against the current CVS head be made at this point, and if so should it
> be:
>
>    1. Change all occurences of of SA_SHIRQ to IRQF_SHARED and put an
>       #ifndef IRQF_SHARED
>       #define IRQF_SHARED SA_SHIRQ
>       #endif
>       in the comedi/include/linux/interrupt.h

Option 1 (assuming IRQF_SHARED is a macro).  We should prefer the newer 
kernel api.

>
>    2. Or should I just put a
>       #ifndef SA_SHIRQ
>       #define SA_SHIRQ IRQF_SHARED
>       #endif
>       in the comedi/include/linux/interrupt.h
>
>
> Anders

-- 
Frank

Received on 2007-02-16Z23:33:37