UBUNTU: SAUCE: allow to use __wake_up_pollfree() from GPL modules

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>
This commit is contained in:
Andrea Righi
2021-12-17 11:14:24 +01:00
committed by Paolo Pisati
parent de25017622
commit a5941dcd13
+1
View File
@@ -212,6 +212,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,