aboutsummaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
Diffstat (limited to 'kernel')
-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 3dec7536378..6f829058ae4 100644
--- a/kernel/mutex-debug.c
+++ b/kernel/mutex-debug.c
@@ -459,4 +459,3 @@ void fastcall mutex_destroy(struct mutex *lock)
}
EXPORT_SYMBOL_GPL(mutex_destroy);
-
diff --git a/kernel/mutex.c b/kernel/mutex.c
index 5c256184419..5449b210d9e 100644
--- a/kernel/mutex.c
+++ b/kernel/mutex.c
@@ -202,7 +202,7 @@ __mutex_lock_slowpath(atomic_t *lock_count __IP_DECL__)
static fastcall noinline void
__mutex_unlock_slowpath(atomic_t *lock_count __IP_DECL__)
{
- struct mutex *lock = container_of(lock_count, struct mutex, count);
+ struct mutex *lock = container_of(lock_count, struct mutex, count);
DEBUG_WARN_ON(lock->owner != current_thread_info());
@@ -313,6 +313,3 @@ int fastcall mutex_trylock(struct mutex *lock)
}
EXPORT_SYMBOL(mutex_trylock);
-
-
-