Messages in this thread | | | Date | Tue, 7 Apr 2015 14:07:30 +0200 | From | Peter Zijlstra <> | Subject | Re: [PATCH v2 1/2] rtmutex Real-Time Linux: Fixing kernel BUG at kernel/locking/rtmutex.c:997! |
| |
On Tue, Apr 07, 2015 at 02:04:03PM +0200, Peter Zijlstra wrote: > +out: > +#ifdef CONFIG_PREEMPT_RT_FULL > + rt_spin_unlock_after_trylock_in_irq(&base->lock); > +#endif > + /* The ; ensures that gcc won't complain in the !RT case */ > + ; > }
Fwiw, I typically use a 'return' in that case. But yes, gcc is a bit of a whiny arse when it comes to labels to the end of the block.
| |