aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--kernel/mutex-debug.c1
-rw-r--r--kernel/mutex.c5
2 files changed, 1 insertions, 5 deletions
diff --git a/kernel/mutex-debug.c b/kernel/mutex-debug.c
index 3dec75363786..6f829058ae4a 100644
--- a/kernel/mutex-debug.c
+++ b/kernel/mutex-debug.c
@@ -459,4 +459,3 @@ void fastcall mutex_destroy(struct mutex *lock)
459} 459}
460 460
461EXPORT_SYMBOL_GPL(mutex_destroy); 461EXPORT_SYMBOL_GPL(mutex_destroy);
462
diff --git a/kernel/mutex.c b/kernel/mutex.c
index 5c2561844196..5449b210d9ed 100644
--- a/kernel/mutex.c
+++ b/kernel/mutex.c
@@ -202,7 +202,7 @@ __mutex_lock_slowpath(atomic_t *lock_count __IP_DECL__)
202static fastcall noinline void 202static fastcall noinline void
203__mutex_unlock_slowpath(atomic_t *lock_count __IP_DECL__) 203__mutex_unlock_slowpath(atomic_t *lock_count __IP_DECL__)
204{ 204{
205 struct mutex *lock = container_of(lock_count, struct mutex, count); 205 struct mutex *lock = container_of(lock_count, struct mutex, count);
206 206
207 DEBUG_WARN_ON(lock->owner != current_thread_info()); 207 DEBUG_WARN_ON(lock->owner != current_thread_info());
208 208
@@ -313,6 +313,3 @@ int fastcall mutex_trylock(struct mutex *lock)
313} 313}
314 314
315EXPORT_SYMBOL(mutex_trylock); 315EXPORT_SYMBOL(mutex_trylock);
316
317
318