Skip to content

Commit ce99109

Browse files
author
Ingo Molnar
committed
Merge branch 'locking/urgent' into locking/core, to pick up fixes
Signed-off-by: Ingo Molnar <mingo@kernel.org>
2 parents 34e12b8 + da260fe commit ce99109

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

kernel/jump_label.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -678,7 +678,7 @@ jump_label_module_notify(struct notifier_block *self, unsigned long val,
678678
case MODULE_STATE_COMING:
679679
ret = jump_label_add_module(mod);
680680
if (ret) {
681-
WARN(1, "Failed to allocatote memory: jump_label may not work properly.\n");
681+
WARN(1, "Failed to allocate memory: jump_label may not work properly.\n");
682682
jump_label_del_module(mod);
683683
}
684684
break;

kernel/locking/mutex.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -389,7 +389,7 @@ static bool __ww_mutex_wound(struct mutex *lock,
389389
/*
390390
* wake_up_process() paired with set_current_state()
391391
* inserts sufficient barriers to make sure @owner either sees
392-
* it's wounded in __ww_mutex_lock_check_stamp() or has a
392+
* it's wounded in __ww_mutex_check_kill() or has a
393393
* wakeup pending to re-read the wounded state.
394394
*/
395395
if (owner != current)
@@ -946,7 +946,6 @@ __mutex_lock_common(struct mutex *lock, long state, unsigned int subclass,
946946
}
947947

948948
debug_mutex_lock_common(lock, &waiter);
949-
debug_mutex_add_waiter(lock, &waiter, current);
950949

951950
lock_contended(&lock->dep_map, ip);
952951

0 commit comments

Comments
 (0)