diff options
author | Zheng Da <zhengda1936@gmail.com> | 2010-01-16 00:08:24 +0100 |
---|---|---|
committer | Zheng Da <zhengda1936@gmail.com> | 2010-01-16 00:08:24 +0100 |
commit | 51299b970600d28df634708557f80df3526014ae (patch) | |
tree | 6b0090ebe1ceca27dfe55a0916e9d0bb9c7309e5 /libdde_linux26/contrib/kernel | |
parent | a060d4fc63de2cafb94c94505b113e37dd94b805 (diff) |
rename __mutex_init to avoid the name conflict.
Diffstat (limited to 'libdde_linux26/contrib/kernel')
-rw-r--r-- | libdde_linux26/contrib/kernel/mutex.c | 5 |
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 /* |