kdbus: Revert "fs: unexport poll_schedule_timeout" 73/306773/2
authorŁukasz Stelmach <l.stelmach@samsung.com>
Mon, 21 Dec 2020 11:40:27 +0000 (12:40 +0100)
committerSeung-Woo Kim <sw0312.kim@samsung.com>
Tue, 27 Feb 2024 10:29:46 +0000 (10:29 +0000)
This reverts commit 8f546ae1fc5ce8396827d4868c7eee1f1cc6947a.

Change-Id: Ic603b089a2e7a3d65c86fbb41309c105c9a1e2fa
Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
fs/select.c
include/linux/poll.h

index 0ee55af..c66cc7a 100644 (file)
@@ -234,7 +234,7 @@ static void __pollwait(struct file *filp, wait_queue_head_t *wait_address,
        add_wait_queue(wait_address, &entry->wait);
 }
 
-static int poll_schedule_timeout(struct poll_wqueues *pwq, int state,
+int poll_schedule_timeout(struct poll_wqueues *pwq, int state,
                          ktime_t *expires, unsigned long slack)
 {
        int rc = -EINTR;
@@ -259,6 +259,7 @@ static int poll_schedule_timeout(struct poll_wqueues *pwq, int state,
 
        return rc;
 }
+EXPORT_SYMBOL(poll_schedule_timeout);
 
 /**
  * poll_select_set_timeout - helper function to setup the timeout value
index a9e0e1c..3b8e699 100644 (file)
@@ -110,6 +110,8 @@ struct poll_wqueues {
 
 extern void poll_initwait(struct poll_wqueues *pwq);
 extern void poll_freewait(struct poll_wqueues *pwq);
+extern int poll_schedule_timeout(struct poll_wqueues *pwq, int state,
+                                ktime_t *expires, unsigned long slack);
 extern u64 select_estimate_accuracy(struct timespec64 *tv);
 
 #define MAX_INT64_SECONDS (((s64)(~((u64)0)>>1)/HZ)-1)