diff --git a/linux-tkg-patches/6.1/0009-prjc_v6.1-r0.patch b/linux-tkg-patches/6.1/0009-prjc_v6.1-r0.patch index e4c91c4..8e5671d 100644 --- a/linux-tkg-patches/6.1/0009-prjc_v6.1-r0.patch +++ b/linux-tkg-patches/6.1/0009-prjc_v6.1-r0.patch @@ -10074,3 +10074,21 @@ index a2d301f58ced..2ccdede8585c 100644 }; struct wakeup_test_data *x = data; +diff --git a/kernel/sched/alt_sched.h b/kernel/sched/alt_sched.h +index 93ff3bddd36f85c67a3130a68ed67e2525513353..a00bc84b93b2c8789d4798a2900299fdd39a2e58 100644 +--- a/kernel/sched/alt_sched.h ++++ b/kernel/sched/alt_sched.h +@@ -387,6 +387,13 @@ task_rq_unlock(struct rq *rq, struct task_struct *p, struct rq_flags *rf) + raw_spin_unlock_irqrestore(&p->pi_lock, rf->flags); + } + ++static inline void ++rq_lock_irq(struct rq *rq, struct rq_flags *rf) ++ __acquires(rq->lock) ++{ ++ raw_spin_lock_irq(&rq->lock); ++} ++ + static inline void + rq_lock(struct rq *rq, struct rq_flags *rf) + __acquires(rq->lock)