hc
2023-12-11 6778948f9de86c3cfaf36725a7c87dcff9ba247f
kernel/include/linux/sched/mm.h
....@@ -49,17 +49,6 @@
4949 __mmdrop(mm);
5050 }
5151
52
-#ifdef CONFIG_PREEMPT_RT
53
-extern void __mmdrop_delayed(struct rcu_head *rhp);
54
-static inline void mmdrop_delayed(struct mm_struct *mm)
55
-{
56
- if (atomic_dec_and_test(&mm->mm_count))
57
- call_rcu(&mm->delayed_drop, __mmdrop_delayed);
58
-}
59
-#else
60
-# define mmdrop_delayed(mm) mmdrop(mm)
61
-#endif
62
-
6352 /**
6453 * mmget() - Pin the address space associated with a &struct mm_struct.
6554 * @mm: The address space to pin.