diff mbox

irq: Export handle_fasteoi_irq() to modules

Message ID 1409160402-30783-1-git-send-email-broonie@kernel.org
State New
Headers show

Commit Message

Mark Brown Aug. 27, 2014, 5:26 p.m. UTC
From: Mark Brown <broonie@linaro.org>

Currently handle_fasteoi_irq() is not exported which is causing build
failures in -next for ARM allmodconfig due to gpio-zynq using it. Since
it seems like a reasonable thing to use from a driver add an export for
the function.

Signed-off-by: Mark Brown <broonie@linaro.org>
---
 kernel/irq/chip.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Thomas Gleixner Aug. 27, 2014, 6:44 p.m. UTC | #1
On Wed, 27 Aug 2014, Mark Brown wrote:

> From: Mark Brown <broonie@linaro.org>
> 
> Currently handle_fasteoi_irq() is not exported which is causing build
> failures in -next for ARM allmodconfig due to gpio-zynq using it. Since
> it seems like a reasonable thing to use from a driver add an export for
> the function.

The export is already pending in tip/irq/urgent and scheduled for
Linus tree.
 
> Signed-off-by: Mark Brown <broonie@linaro.org>
> ---
>  kernel/irq/chip.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/kernel/irq/chip.c b/kernel/irq/chip.c
> index a2b28a2fd7b1..9ce0c5dd4489 100644
> --- a/kernel/irq/chip.c
> +++ b/kernel/irq/chip.c
> @@ -517,6 +517,7 @@ out:
>  		chip->irq_eoi(&desc->irq_data);
>  	raw_spin_unlock(&desc->lock);
>  }
> +EXPORT_SYMBOL(handle_fasteoi_irq);
>  
>  /**
>   *	handle_edge_irq - edge type IRQ handler
> -- 
> 2.1.0
> 
> 
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/
Mark Brown Aug. 27, 2014, 6:47 p.m. UTC | #2
On Wed, Aug 27, 2014 at 08:44:09PM +0200, Thomas Gleixner wrote:
> On Wed, 27 Aug 2014, Mark Brown wrote:

> > Currently handle_fasteoi_irq() is not exported which is causing build
> > failures in -next for ARM allmodconfig due to gpio-zynq using it. Since
> > it seems like a reasonable thing to use from a driver add an export for
> > the function.

> The export is already pending in tip/irq/urgent and scheduled for
> Linus tree.

OK, thanks - it's not showing up in -next yet for some reason.
diff mbox

Patch

diff --git a/kernel/irq/chip.c b/kernel/irq/chip.c
index a2b28a2fd7b1..9ce0c5dd4489 100644
--- a/kernel/irq/chip.c
+++ b/kernel/irq/chip.c
@@ -517,6 +517,7 @@  out:
 		chip->irq_eoi(&desc->irq_data);
 	raw_spin_unlock(&desc->lock);
 }
+EXPORT_SYMBOL(handle_fasteoi_irq);
 
 /**
  *	handle_edge_irq - edge type IRQ handler