Re: Badness in irq_create_mapping at arch/powerpc/kernel/irq.c:527
From: Stephen Rothwell
Date: Thu Oct 19 2006 - 21:48:41 EST
Hi Ben,
On Fri, 20 Oct 2006 11:37:01 +1000 Benjamin Herrenschmidt <benh@xxxxxxxxxxxxxxxxxxx> wrote:
>
> Index: linux-cell/arch/powerpc/sysdev/i8259.c
> ===================================================================
> --- linux-cell.orig/arch/powerpc/sysdev/i8259.c 2006-10-09 12:03:33.000000000 +1000
> +++ linux-cell/arch/powerpc/sysdev/i8259.c 2006-10-20 11:32:07.000000000 +1000
> @@ -13,6 +13,7 @@
> #include <linux/interrupt.h>
> #include <linux/kernel.h>
> #include <linux/delay.h>
> +#include <linux/module.h>
> #include <asm/io.h>
> #include <asm/i8259.h>
> #include <asm/prom.h>
> @@ -224,6 +225,12 @@ static struct irq_host_ops i8259_host_op
> .xlate = i8259_host_xlate,
> };
>
> +struct irq_host *i8259_get_host(void)
> +{
> + return i8259_host;
> +}
> +EXPORT_SYMBOL(i8259_get_host);
Surely it doesn't need exporting is its only caller is in
arch/powerpc/platforms/chrp/setup.c?
--
Cheers,
Stephen Rothwell sfr@xxxxxxxxxxxxxxxx
http://www.canb.auug.org.au/~sfr/
Attachment:
pgp00000.pgp
Description: PGP signature