diff options
author | Christoph Hellwig <hch@lst.de> | 2015-12-07 09:57:25 -0500 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2015-12-11 14:52:28 -0500 |
commit | 83af187d1b776753d58b53d155318d94f9428e92 (patch) | |
tree | c20394091a7bcb8280037010e750441beb44ce33 | |
parent | 0bc92ace52ef3ed1c8eb9bcf36cd3d7ca72d5d14 (diff) |
irq_poll: mark __irq_poll_complete static
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Bart Van Assche <bart.vanassche@sandisk.com>
-rw-r--r-- | include/linux/irq_poll.h | 1 | ||||
-rw-r--r-- | lib/irq_poll.c | 3 |
2 files changed, 1 insertions, 3 deletions
diff --git a/include/linux/irq_poll.h b/include/linux/irq_poll.h index b4ad03cee9d4..8c4b4087f1f2 100644 --- a/include/linux/irq_poll.h +++ b/include/linux/irq_poll.h | |||
@@ -21,7 +21,6 @@ enum { | |||
21 | extern void irq_poll_sched(struct irq_poll *); | 21 | extern void irq_poll_sched(struct irq_poll *); |
22 | extern void irq_poll_init(struct irq_poll *, int, irq_poll_fn *); | 22 | extern void irq_poll_init(struct irq_poll *, int, irq_poll_fn *); |
23 | extern void irq_poll_complete(struct irq_poll *); | 23 | extern void irq_poll_complete(struct irq_poll *); |
24 | extern void __irq_poll_complete(struct irq_poll *); | ||
25 | extern void irq_poll_enable(struct irq_poll *); | 24 | extern void irq_poll_enable(struct irq_poll *); |
26 | extern void irq_poll_disable(struct irq_poll *); | 25 | extern void irq_poll_disable(struct irq_poll *); |
27 | 26 | ||
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); | |||
47 | * See irq_poll_complete(). This function must be called with interrupts | 47 | * See irq_poll_complete(). This function must be called with interrupts |
48 | * disabled. | 48 | * disabled. |
49 | **/ | 49 | **/ |
50 | void __irq_poll_complete(struct irq_poll *iop) | 50 | static void __irq_poll_complete(struct irq_poll *iop) |
51 | { | 51 | { |
52 | list_del(&iop->list); | 52 | list_del(&iop->list); |
53 | smp_mb__before_atomic(); | 53 | smp_mb__before_atomic(); |
54 | clear_bit_unlock(IRQ_POLL_F_SCHED, &iop->state); | 54 | clear_bit_unlock(IRQ_POLL_F_SCHED, &iop->state); |
55 | } | 55 | } |
56 | EXPORT_SYMBOL(__irq_poll_complete); | ||
57 | 56 | ||
58 | /** | 57 | /** |
59 | * irq_poll_complete - Mark this @iop as un-polled again | 58 | * irq_poll_complete - Mark this @iop as un-polled again |