All of lore.kernel.org
 help / color / mirror / Atom feed
From: Luca Falavigna <dktrkranz@gmail.com>
To: mingo@elte.hu
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: [PATCH][TRIVIAL] Real-Time Preemption V0.7.51-38: fix compile bug in drivers/block/paride/pseudo.h
Date: Wed, 27 Jul 2005 16:00:25 +0000	[thread overview]
Message-ID: <42E7AF99.8070509@gmail.com> (raw)

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



             reply	other threads:[~2005-07-27 16:42 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-07-27 16:00 Luca Falavigna [this message]
2005-07-28  7:42 ` [PATCH][TRIVIAL] Real-Time Preemption V0.7.51-38: fix compile bug in drivers/block/paride/pseudo.h Ingo Molnar

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=42E7AF99.8070509@gmail.com \
    --to=dktrkranz@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@elte.hu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.