From: lakostis@altlinux.org
To: devel-kernel@lists.altlinux.org
Subject: [d-kernel] [PATCH 3/4] wait: allow to use __wake_up_pollfree() from GPL modules
Date: Fri, 23 Oct 2026 09:42:39 +0200
Message-ID: <20261023074559.941014-4-lakostis@altlinux.org> (raw)
In-Reply-To: <20261023074559.941014-1-lakostis@altlinux.org>
From: Andrea Righi <andrea.righi@canonical.com>
commit ebafbcf7f32d ("UBUNTU: SAUCE: binder: turn into module")
is changing binder to be a module, but __wake_up_pollfree() can only be
used internally by the kernel.
Make __wake_up_pollfree an EXPORT_SYMBOL_GPL so that it can be used by
the binder module.
Signed-off-by: Andrea Righi <andrea.righi@canonical.com>
Signed-off-by: Alexandre Frade <kernel@xanmod.org>
Signed-off-by: Konstantin A. Lepikhov <lakostis@altlinux.ru>
---
kernel/sched/wait.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/kernel/sched/wait.c b/kernel/sched/wait.c
index d033f600f48c..54b1a1b7ae4e 100644
--- a/kernel/sched/wait.c
+++ b/kernel/sched/wait.c
@@ -232,6 +232,7 @@ void __wake_up_pollfree(struct wait_queue_head *wq_head)
/* POLLFREE must have cleared the queue. */
WARN_ON_ONCE(waitqueue_active(wq_head));
}
+EXPORT_SYMBOL_GPL(__wake_up_pollfree);
/*
* Note: we use "set_current_state()" _after_ the wait-queue add,
--
2.50.1
next prev parent reply other threads:[~2026-10-23 7:42 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-23 7:42 [d-kernel] [7.3] binder: turn into module lakostis
2026-10-23 7:42 ` [d-kernel] [PATCH 1/4] " lakostis
2026-10-23 7:42 ` [d-kernel] [PATCH 2/4] binder: give binder_alloc its own debug mask file lakostis
2026-10-23 7:42 ` lakostis [this message]
2026-10-23 7:42 ` [d-kernel] [PATCH 4/4] file: export file_close_fd() instead of close_fd_get_file() lakostis
2026-10-23 9:05 ` [d-kernel] [7.3] binder: turn into module Ivan A. Melnikov
2026-10-23 11:35 ` Konstantin Lepikhov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261023074559.941014-4-lakostis@altlinux.org \
--to=lakostis@altlinux.org \
--cc=devel-kernel@lists.altlinux.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
ALT Linux kernel packages development
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/devel-kernel/0 devel-kernel/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 devel-kernel devel-kernel/ http://lore.altlinux.org/devel-kernel \
devel-kernel@altlinux.org devel-kernel@altlinux.ru devel-kernel@altlinux.com
public-inbox-index devel-kernel
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.devel-kernel
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git