[PATCH][TRIVIAL] Real-Time Preemption V0.7.51-38: fix compile bugin drivers/block/paride/pseudo.h
From: Luca Falavigna
Date: Wed Jul 27 2005 - 11:44:54 EST
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 <dktrkranz@xxxxxxxxx>
--- ./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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/