From 102a0743326a03cd1a1202ceda21e175b7d3575c Mon Sep 17 00:00:00 2001 From: hc <hc@nodka.com> Date: Tue, 20 Feb 2024 01:20:52 +0000 Subject: [PATCH] add new system file --- kernel/include/linux/sched/wake_q.h | 13 +------------ 1 files changed, 1 insertions(+), 12 deletions(-) diff --git a/kernel/include/linux/sched/wake_q.h b/kernel/include/linux/sched/wake_q.h index b1bdbb6..1e05e56 100644 --- a/kernel/include/linux/sched/wake_q.h +++ b/kernel/include/linux/sched/wake_q.h @@ -60,17 +60,6 @@ extern void wake_q_add(struct wake_q_head *head, struct task_struct *task); extern void wake_q_add_safe(struct wake_q_head *head, struct task_struct *task); -extern void wake_q_add_sleeper(struct wake_q_head *head, struct task_struct *task); -extern void __wake_up_q(struct wake_q_head *head, bool sleeper); - -static inline void wake_up_q(struct wake_q_head *head) -{ - __wake_up_q(head, false); -} - -static inline void wake_up_q_sleeper(struct wake_q_head *head) -{ - __wake_up_q(head, true); -} +extern void wake_up_q(struct wake_q_head *head); #endif /* _LINUX_SCHED_WAKE_Q_H */ -- Gitblit v1.6.2