Hi Ben, On Fri, 20 Oct 2006 11:37:01 +1000 Benjamin Herrenschmidt <[email protected]> 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 [email protected] http://www.canb.auug.org.au/~sfr/
Attachment:
pgpeZdF57axBC.pgp
Description: PGP signature
- Follow-Ups:
- Re: Badness in irq_create_mapping at arch/powerpc/kernel/irq.c:527
- From: Benjamin Herrenschmidt <[email protected]>
- Re: Badness in irq_create_mapping at arch/powerpc/kernel/irq.c:527
- References:
- Badness in irq_create_mapping at arch/powerpc/kernel/irq.c:527
- From: Olaf Hering <[email protected]>
- Re: Badness in irq_create_mapping at arch/powerpc/kernel/irq.c:527
- From: Nicolas DET <[email protected]>
- Re: Badness in irq_create_mapping at arch/powerpc/kernel/irq.c:527
- From: Benjamin Herrenschmidt <[email protected]>
- Badness in irq_create_mapping at arch/powerpc/kernel/irq.c:527
- Prev by Date: Re: kernel BUG in __cache_alloc_node at linux-2.6.git/mm/slab.c:3177!
- Next by Date: Re: [2.6.19 patch] drivers/ide/pci/generic.c: re-add the __setup("all-generic-ide",...)
- Previous by thread: Re: Badness in irq_create_mapping at arch/powerpc/kernel/irq.c:527
- Next by thread: Re: Badness in irq_create_mapping at arch/powerpc/kernel/irq.c:527
- Index(es):