public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* realtime-preempt for MIPS - compile problem with rwsem
@ 2006-06-20 19:08 Ryan McAvoy
  2006-06-21  8:05 ` Steven Rostedt
  0 siblings, 1 reply; 7+ messages in thread
From: Ryan McAvoy @ 2006-06-20 19:08 UTC (permalink / raw)
  To: linux-kernel, linux-mips

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2006-06-22  2:38 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-20 19:08 realtime-preempt for MIPS - compile problem with rwsem Ryan McAvoy
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox