Bug 429720

Summary: mutex_lock is now unavailable to non-GPL kernel modules
Product: [Fedora] Fedora Reporter: Simon Wilkinson <simon>
Component: kernelAssignee: Kernel Maintainer List <kernel-maint>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: 9   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: F9 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-06-30 20:07:24 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Simon Wilkinson 2008-01-22 17:31:43 UTC
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):
2.6.24-0.157.rc8.fc9

How reproducible:
Build a non-GPL kernel module which attempts to call mutex_lock()


Steps to Reproduce:
1.
2.
3.
  
Actual results:
modpost complains about the use of mutex_lock_nested()

Expected results:
Module compiles successfully

Additional info:

Comment 1 Bug Zapper 2008-05-14 04:50:18 UTC
Changing version to '9' as part of upcoming Fedora 9 GA.
More information and reason for this action is here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping