[PATCH][TRIVIAL] Real-Time Preemption V0.7.51-38: fix compile bug in drivers/block/paride/pseudo.h

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

 



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.



Signed-off-by: Luca Falavigna <[email protected]>

--- ./drivers/block/paride/pseudo.h.orig 2005-03-02 21:39:37.000000000 +0000
+++ ./drivers/block/paride/pseudo.h	 2005-07-27 15:37:50.000000000 +0000
@@ -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,
-- 
					Luca


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]
  Powered by Linux