Messages in this thread | | | Date | Mon, 30 May 2005 20:09:24 +0200 | From | Ingo Molnar <> | Subject | Re: [patch] Real-Time Preemption, -RT-2.6.12-rc4-V0.7.47-06 |
| |
* Michal Schmidt <xschmi00@stud.feec.vutbr.cz> wrote:
> Ingo Molnar wrote: > >* Ingo Molnar <mingo@elte.hu> wrote: > >>agreed - i've added your patch to my tree. > > > >with a small modification: i turned the error into a link-time error, > >because gcc parses both branches and will give a compiler-time warning > >even if the proper compat_semaphore is used. > > Oh, sorry. I actually had it produce a link-time error at first. But I > wanted so much to make it fail at compile time that I screwed it up and > didn't test both cases. > > However, what you have in RT-V0.7.47-13 is still not correct. Now it > again produces only a warning :-) > Patch attached. This time I really tested it in both cases. For struct > semaphore it fails at link-time. For struct compat_semaphore it compiles > without problems.
ok - released -14 with this fix.
Ingo
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |