mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-26 16:41:25 +00:00
locking/lockdep: Avoid RCU-induced noinstr fail
[ Upstream commit ce0b9c805d
]
vmlinux.o: warning: objtool: look_up_lock_class()+0xc7: call to rcu_read_lock_any_held() leaves .noinstr.text section
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lore.kernel.org/r/20210624095148.311980536@infradead.org
Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
4a7f59c455
commit
a35dd5c32d
1 changed files with 1 additions and 1 deletions
|
@ -888,7 +888,7 @@ look_up_lock_class(const struct lockdep_map *lock, unsigned int subclass)
|
|||
if (DEBUG_LOCKS_WARN_ON(!irqs_disabled()))
|
||||
return NULL;
|
||||
|
||||
hlist_for_each_entry_rcu(class, hash_head, hash_entry) {
|
||||
hlist_for_each_entry_rcu_notrace(class, hash_head, hash_entry) {
|
||||
if (class->key == key) {
|
||||
/*
|
||||
* Huh! same key, different name? Did someone trample
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue