Re: 2.6.15-rc5-rt1 will not compile (was Re: 2.6.14-rt15: cannot build with !PREEMPT_RT)

Ingo Molnar
2005-12-13T08:15:51Z

* Steven Rostedt <rostedt@goodmis.org> wrote:

> Looks like Ingo has a generic rwsem to work with, but if your arch
> turns on CONFIG_RWSEM_XCHGADD_ALGORITHM, it will compile lib/rwsem.c
> which won't compile as you've seen.
>
> Try out this patch: I changed the Makefile, instead of going to each
> and every arch and change its Kconfig to do it properly.

i rather went for fixing up the Kconfig, that makes things easier to
follow. If it turns out to be lots of duplicate stuff we could create a
lib/Kconfig.rwsem that architectures can include.

Ingo