File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ extern int debug_locks __read_mostly;
12
12
extern int debug_locks_silent __read_mostly ;
13
13
14
14
15
- static inline int __debug_locks_off (void )
15
+ static __always_inline int __debug_locks_off (void )
16
16
{
17
17
return xchg (& debug_locks , 0 );
18
18
}
Original file line number Diff line number Diff line change @@ -393,7 +393,7 @@ void lockdep_init_task(struct task_struct *task)
393
393
task -> lockdep_recursion = 0 ;
394
394
}
395
395
396
- static inline void lockdep_recursion_finish (void )
396
+ static __always_inline void lockdep_recursion_finish (void )
397
397
{
398
398
if (WARN_ON_ONCE (-- current -> lockdep_recursion ))
399
399
current -> lockdep_recursion = 0 ;
@@ -801,7 +801,7 @@ static int count_matching_names(struct lock_class *new_class)
801
801
}
802
802
803
803
/* used from NMI context -- must be lockless */
804
- static inline struct lock_class *
804
+ static __always_inline struct lock_class *
805
805
look_up_lock_class (const struct lockdep_map * lock , unsigned int subclass )
806
806
{
807
807
struct lockdep_subclass_key * key ;
You can’t perform that action at this time.
0 commit comments