* [PATCH][TRIVIAL] Real-Time Preemption V0.7.51-38: fix compile bug in drivers/block/paride/pseudo.h
@ 2005-07-27 16:00 Luca Falavigna
2005-07-28 7:42 ` Ingo Molnar
0 siblings, 1 reply; 2+ messages in thread
From: Luca Falavigna @ 2005-07-27 16:00 UTC (permalink / raw)
To: mingo; +Cc: Linux Kernel Mailing List
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@gmail.com>
--- ./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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH][TRIVIAL] Real-Time Preemption V0.7.51-38: fix compile bug in drivers/block/paride/pseudo.h
2005-07-27 16:00 [PATCH][TRIVIAL] Real-Time Preemption V0.7.51-38: fix compile bug in drivers/block/paride/pseudo.h Luca Falavigna
@ 2005-07-28 7:42 ` Ingo Molnar
0 siblings, 0 replies; 2+ messages in thread
From: Ingo Molnar @ 2005-07-28 7:42 UTC (permalink / raw)
To: Luca Falavigna; +Cc: Linux Kernel Mailing List
* Luca Falavigna <dktrkranz@gmail.com> wrote:
> 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.
thanks - applied.
Ingo
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-07-28 7:46 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-07-27 16:00 [PATCH][TRIVIAL] Real-Time Preemption V0.7.51-38: fix compile bug in drivers/block/paride/pseudo.h Luca Falavigna
2005-07-28 7:42 ` Ingo Molnar
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox