summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2015-12-07 15:57:25 +0100
committerChristoph Hellwig <hch@lst.de>2015-12-11 20:52:28 +0100
commit83af187d1b776753d58b53d155318d94f9428e92 (patch)
treec20394091a7bcb8280037010e750441beb44ce33 /lib
parentirq_poll: fold irq_poll_disable_pending into irq_poll_softirq (diff)
downloadlinux-83af187d1b776753d58b53d155318d94f9428e92.tar.xz
linux-83af187d1b776753d58b53d155318d94f9428e92.zip
irq_poll: mark __irq_poll_complete static
Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Bart Van Assche <bart.vanassche@sandisk.com>
Diffstat (limited to 'lib')
-rw-r--r--lib/irq_poll.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/irq_poll.c b/lib/irq_poll.c
index 53d67e341ebb..2836620e889f 100644
--- a/lib/irq_poll.c
+++ b/lib/irq_poll.c
@@ -47,13 +47,12 @@ EXPORT_SYMBOL(irq_poll_sched);
* See irq_poll_complete(). This function must be called with interrupts
* disabled.
**/
-void __irq_poll_complete(struct irq_poll *iop)
+static void __irq_poll_complete(struct irq_poll *iop)
{
list_del(&iop->list);
smp_mb__before_atomic();
clear_bit_unlock(IRQ_POLL_F_SCHED, &iop->state);
}
-EXPORT_SYMBOL(__irq_poll_complete);
/**
* irq_poll_complete - Mark this @iop as un-polled again