Red Hat Bugzilla – Bug 429720
mutex_lock is now unavailable to non-GPL kernel modules
Last modified: 2008-06-30 16:07:24 EDT
Description of problem:
The Fedora kernel is built with CONFIG_DEBUG_LOCK_ALLOC, which redefines mutex_lock as
mutex_lock_nested. mutex_lock is available to all users, but mutex_lock_nested is
EXPORT_SYMBOL_GPL, making it impossible to compile open source, but non-GPL, kernel modules
against the standard kernel.
Version-Release number of selected component (if applicable):
Build a non-GPL kernel module which attempts to call mutex_lock()
Steps to Reproduce:
modpost complains about the use of mutex_lock_nested()
Module compiles successfully
Changing version to '9' as part of upcoming Fedora 9 GA.
More information and reason for this action is here: