Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 150552 Details for
Bug 233234
Missing definition for mutex_destroy in linux/kernel.h
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
A quick patch.
linux-2.6.9-mutex-backport.patch.20060316 (text/plain), 999 bytes, created by
Moriyoshi Koizumi
on 2007-03-21 03:40:45 UTC
(
hide
)
Description:
A quick patch.
Filename:
MIME Type:
Creator:
Moriyoshi Koizumi
Created:
2007-03-21 03:40:45 UTC
Size:
999 bytes
patch
obsolete
>Index: openib/include/linux/mutex.h >=================================================================== >--- /dev/null 1970-01-01 00:00:00.000000000 +0000 >+++ openib/include/linux/mutex.h 2006-03-22 10:20:42.000000000 +0200 >@@ -0,0 +1,24 @@ >+/* >+ * Copyright (c) 2006 Cisco Systems. All rights reserved. >+ * >+ * This file is released under the GPLv2. >+ */ >+ >+/* mutex compatibility for pre-2.6.16 kernels */ >+ >+#ifndef __LINUX_MUTEX_H >+#define __LINUX_MUTEX_H >+ >+#include <asm/semaphore.h> >+ >+#define mutex semaphore >+#define DEFINE_MUTEX(foo) DECLARE_MUTEX(foo) >+#define mutex_init(foo) init_MUTEX(foo) >+#define mutex_lock(foo) down(foo) >+#define mutex_lock_interruptible(foo) down_interruptible(foo) >+/* this function follows the spin_trylock() convention, so * >+ * it is negated to the down_trylock() return values! Be careful */ >+#define mutex_trylock(foo) !down_trylock(foo) >+#define mutex_unlock(foo) up(foo) >+#define mutex_destroy(foo) do {} while (0) >+ >+#endif /* __LINUX_MUTEX_H */
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 233234
: 150552