Commit 83af187d authored by Christoph Hellwig's avatar Christoph Hellwig

irq_poll: mark __irq_poll_complete static

Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
Reviewed-by: default avatarBart Van Assche <bart.vanassche@sandisk.com>
parent 0bc92ace
...@@ -21,7 +21,6 @@ enum { ...@@ -21,7 +21,6 @@ enum {
extern void irq_poll_sched(struct irq_poll *); extern void irq_poll_sched(struct irq_poll *);
extern void irq_poll_init(struct irq_poll *, int, irq_poll_fn *); extern void irq_poll_init(struct irq_poll *, int, irq_poll_fn *);
extern void irq_poll_complete(struct irq_poll *); extern void irq_poll_complete(struct irq_poll *);
extern void __irq_poll_complete(struct irq_poll *);
extern void irq_poll_enable(struct irq_poll *); extern void irq_poll_enable(struct irq_poll *);
extern void irq_poll_disable(struct irq_poll *); extern void irq_poll_disable(struct irq_poll *);
......
...@@ -47,13 +47,12 @@ EXPORT_SYMBOL(irq_poll_sched); ...@@ -47,13 +47,12 @@ EXPORT_SYMBOL(irq_poll_sched);
* See irq_poll_complete(). This function must be called with interrupts * See irq_poll_complete(). This function must be called with interrupts
* disabled. * disabled.
**/ **/
void __irq_poll_complete(struct irq_poll *iop) static void __irq_poll_complete(struct irq_poll *iop)
{ {
list_del(&iop->list); list_del(&iop->list);
smp_mb__before_atomic(); smp_mb__before_atomic();
clear_bit_unlock(IRQ_POLL_F_SCHED, &iop->state); clear_bit_unlock(IRQ_POLL_F_SCHED, &iop->state);
} }
EXPORT_SYMBOL(__irq_poll_complete);
/** /**
* irq_poll_complete - Mark this @iop as un-polled again * irq_poll_complete - Mark this @iop as un-polled again
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment