mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Ryan McAvoy" <ryan.sed@gmail.com>
To: linux-kernel@vger.kernel.org, linux-mips@vger.kernel.org
Subject: realtime-preempt for MIPS - compile problem with rwsem
Date: Tue, 20 Jun 2006 13:08:56 -0600	[thread overview]
Message-ID: <642640090606201208g31a0a57bm268910b026ccd335@mail.gmail.com> (raw)

Hello,

I have been trying to get the realtime-preempt patches working on a
MIPs processor with the 2.6.15 (and subsequently the 2.6.16) kernel.

One problem I am having is as follows:

- The mips configuration specifically disables
CONFIG_RWSEM_GENERIC_SPINLOCK when CONFIG_PREEMPT_RT is on
- This causes the include/asm-mips/rwsem.h to be included by
include/linux/rwsem.h.
- include/asm-mips/rwsem.h calls rwsem_down_read_failed which is
implemented in lib/rwsem.c
- rwsem.c is only compiled if CONFIG_RWSEM_XCHGADD_ALGORITHM is on.
This option is also disabled if CONFIG_PREEMPT_RT is on.

To summarise, if CONFIG_PREEMPT_RT is on, then the mips specific
rwsem.h is included, but at the same time, it prevents inclusion of
lib/rwsem.c which is needed by the mips rwsem.h.

Does anyone have a solution to this.
Thanks,
Ryan McAvoy

             reply	other threads:[~2006-06-20 19:08 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-20 19:08 Ryan McAvoy [this message]
2006-06-21  8:05 ` Steven Rostedt
2006-06-21 15:04   ` Ryan McAvoy
2006-06-21 15:43     ` Steven Rostedt
2006-06-21 15:53       ` Steven Rostedt
2006-06-21 16:12       ` Ryan McAvoy
2006-06-22  2:38       ` john cooper

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=642640090606201208g31a0a57bm268910b026ccd335@mail.gmail.com \
    --to=ryan.sed@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mips@vger.kernel.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®