From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751318AbdBCQtj (ORCPT ); Fri, 3 Feb 2017 11:49:39 -0500 Received: from hqemgate14.nvidia.com ([216.228.121.143]:7301 "EHLO hqemgate14.nvidia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750873AbdBCQth (ORCPT ); Fri, 3 Feb 2017 11:49:37 -0500 X-PGP-Universal: processed; by hqnvupgp07.nvidia.com on Thu, 02 Feb 2017 20:44:16 -0800 Date: Fri, 3 Feb 2017 08:49:24 -0800 From: Andy Ritger To: Sebastian Andrzej Siewior CC: Andy Ritger , Alex Goins , Thomas Gleixner , LKML , Subject: Re: [PATCH RT] Align rt_mutex inlining with upstream behavior Message-ID: <20170203164924.GB19814@prokofiev.nvidia.com> References: <1485312350-1265-1-git-send-email-agoins@nvidia.com> <20170126170109.6zhoohgodtvxot54@linutronix.de> <20170130173534.GA24966@prokofiev.nvidia.com> <20170203155434.utptndmoskcyimn7@linutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20170203155434.utptndmoskcyimn7@linutronix.de> X-NVConfidentiality: public User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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: > > 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