summaryrefslogtreecommitdiff
path: root/libdde_linux26/contrib/kernel/mutex.c
diff options
context:
space:
mode:
Diffstat (limited to 'libdde_linux26/contrib/kernel/mutex.c')
-rw-r--r--libdde_linux26/contrib/kernel/mutex.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/libdde_linux26/contrib/kernel/mutex.c b/libdde_linux26/contrib/kernel/mutex.c
index 4f45d4b6..0173f29a 100644
--- a/libdde_linux26/contrib/kernel/mutex.c
+++ b/libdde_linux26/contrib/kernel/mutex.c
@@ -41,7 +41,8 @@
* It is not allowed to initialize an already locked mutex.
*/
void
-__mutex_init(struct mutex *lock, const char *name, struct lock_class_key *key)
+__dde_mutex_init(struct mutex *lock, const char *name,
+ struct lock_class_key *key)
{
atomic_set(&lock->count, 1);
spin_lock_init(&lock->wait_lock);
@@ -50,7 +51,7 @@ __mutex_init(struct mutex *lock, const char *name, struct lock_class_key *key)
debug_mutex_init(lock, name, key);
}
-EXPORT_SYMBOL(__mutex_init);
+EXPORT_SYMBOL(__dde_mutex_init);
#ifndef CONFIG_DEBUG_LOCK_ALLOC
/*