Re: [PATCH RT] Align rt_mutex inlining with upstream behavior
From: Andy Ritger <hidden>
Date: 2017-02-03 16:49:39
Also in:
lkml
From: Andy Ritger <hidden>
Date: 2017-02-03 16:49:39
Also in:
lkml
On Fri, Feb 03, 2017 at 04:54:34PM +0100, Sebastian Andrzej Siewior wrote:
On 2017-01-30 09:35:34 [-0800], Andy Ritger wrote:quoted
The problem is that various static inline functions such as reservation_object_fini() indirectly call mutex_destroy. On DEBUG_MUTEX kernels, mutex_destroy is EXPORT_SYMBOL_GPL.So your problem is simply that your non-GPL module can't link anymore with -RT. Would it help you if I simply replace the export for mutex_destroy with EXPORT_SYMBOL and leave it the function as is?
Yes, definitely. Thanks, - Andy