Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8f546ae1 authored by Christoph Hellwig's avatar Christoph Hellwig
Browse files

fs: unexport poll_schedule_timeout



No users outside of select.c.

Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
Reviewed-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Reviewed-by: default avatarDarrick J. Wong <darrick.wong@oracle.com>
parent ee219b94
Loading
Loading
Loading
Loading
+1 −2
Original line number Original line Diff line number Diff line
@@ -233,7 +233,7 @@ static void __pollwait(struct file *filp, wait_queue_head_t *wait_address,
	add_wait_queue(wait_address, &entry->wait);
	add_wait_queue(wait_address, &entry->wait);
}
}


int poll_schedule_timeout(struct poll_wqueues *pwq, int state,
static int poll_schedule_timeout(struct poll_wqueues *pwq, int state,
			  ktime_t *expires, unsigned long slack)
			  ktime_t *expires, unsigned long slack)
{
{
	int rc = -EINTR;
	int rc = -EINTR;
@@ -258,7 +258,6 @@ int poll_schedule_timeout(struct poll_wqueues *pwq, int state,


	return rc;
	return rc;
}
}
EXPORT_SYMBOL(poll_schedule_timeout);


/**
/**
 * poll_select_set_timeout - helper function to setup the timeout value
 * poll_select_set_timeout - helper function to setup the timeout value
+0 −2
Original line number Original line Diff line number Diff line
@@ -96,8 +96,6 @@ struct poll_wqueues {


extern void poll_initwait(struct poll_wqueues *pwq);
extern void poll_initwait(struct poll_wqueues *pwq);
extern void poll_freewait(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);
extern u64 select_estimate_accuracy(struct timespec64 *tv);


#define MAX_INT64_SECONDS (((s64)(~((u64)0)>>1)/HZ)-1)
#define MAX_INT64_SECONDS (((s64)(~((u64)0)>>1)/HZ)-1)