Real-Time Preemption V0.7.51-38: fix compile bug in drivers/block/paride/pseudo.h
PATCH 1/1 Real-Time Preemption V0.7.51-38: fix compile bug in drivers/block/paride/pseudo.h
This patch, built against kernel version 2.6.13-rc3, fixes a small bug in drivers/block/paride/pseudo.h which prevents its related drivers from being compiled successfully when RT patch (version 0.7.51-38) is compiled in. This is due to the new definition of DEFINE_SPINLOCK macro, which does not longer accept additional attributes.
drivers/block/paride/pseudo.h renamed from drivers/block/paride/pseudo.h.orig 2005-03-02 21:39:37.000000000 +0000 +1 -1
@@ -43,7 +43,7 @@static int ps_tq_active =0 ;static int ps_nice =0 ; -static DEFINE_SPINLOCK(ps_spinlock __attribute__((unused))); +static __attribute__((unused))DEFINE_SPINLOCK (ps_spinlock); static DECLARE_WORK(ps_tq, ps_tq_int, NULL);
Regards,
Signature · 1 line
Luca
Quoted 5 lines · Luca Falavigna
This patch, built against kernel version 2.6.13-rc3, fixes a small bug in
drivers/block/paride/pseudo.hwhich prevents its related drivers from being compiled successfully when RT patch (version 0.7.51-38) is compiled in. This is due to the new definition ofDEFINE_SPINLOCKmacro, which does not longer accept additional attributes.
thanks - applied.
Ingo