All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai-help] arch/arm/kernel/ipipe.c:421: error: implicit declaration of function '__ipipe_mach_irq_mux_p'
@ 2009-08-25  5:01 David Tao
  2009-08-25  8:06 ` Gilles Chanteperdrix
  0 siblings, 1 reply; 2+ messages in thread
From: David Tao @ 2009-08-25  5:01 UTC (permalink / raw)
  To: Xenomai-help

[-- Attachment #1: Type: text/plain, Size: 577 bytes --]

Hi,

I run into a build error when compiling ipipe.c as follows:

  CC      arch/arm/kernel/ipipe.o
 arch/arm/kernel/ipipe.c: In function '__ipipe_grab_irq':
arch/arm/kernel/ipipe.c:421: error: implicit declaration of function '__ipipe_mach_irq_mux_p'
make[1]: *** [arch/arm/kernel/ipipe.o] Error 1
make: *** [arch/arm/kernel] Error 2

Kernel: 2.6.26
Adeos patch:  adeos-ipipe-2.6.26-arm-1.12-00.patch
Xenomai: 2.4.7, and 2.4.8
Tool chain: Denx 4.2 for arm
Target CPU: iMX25

googling around find no such reports.

Any help is highly appreciated.

Best regards,
David



      

[-- Attachment #2: Type: text/html, Size: 1106 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Xenomai-help] arch/arm/kernel/ipipe.c:421: error: implicit declaration of function '__ipipe_mach_irq_mux_p'
  2009-08-25  5:01 [Xenomai-help] arch/arm/kernel/ipipe.c:421: error: implicit declaration of function '__ipipe_mach_irq_mux_p' David Tao
@ 2009-08-25  8:06 ` Gilles Chanteperdrix
  0 siblings, 0 replies; 2+ messages in thread
From: Gilles Chanteperdrix @ 2009-08-25  8:06 UTC (permalink / raw)
  To: David Tao; +Cc: Xenomai-help

David Tao wrote:
> Hi,
> 
> I run into a build error when compiling ipipe.c as follows:
> 
>   CC      arch/arm/kernel/ipipe.o
>  arch/arm/kernel/ipipe.c: In function '__ipipe_grab_irq':
> arch/arm/kernel/ipipe.c:421: error: implicit declaration of function
> '__ipipe_mach_irq_mux_p'
> make[1]: *** [arch/arm/kernel/ipipe.o] Error 1
> make: *** [arch/arm/kernel] Error 2
> 
> Kernel: 2.6.26
> Adeos patch:  adeos-ipipe-2.6.26-arm-1.12-00.patch
> Xenomai: 2.4.7, and 2.4.8
> Tool chain: Denx 4.2 for arm
> Target CPU: iMX25

Well it looks like __ipipe_mach_irq_mux_p is not implemented for your
processor. You will find documentation on what it should do on the
I-pipe on ARM guide.

http://www.xenomai.org/index.php/I-pipe:ArmPorting

Normally, this code goes in arch/arm/mach-imx/include/mach/irqs.h, but
the code I see here is not conditional, so should be used if IMX25 is
part of the IMX family. However, I do not see IMX25 in the list of
supported processors. Where did you get support for that processor from?

-- 
                                          Gilles



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-08-25  8:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-25  5:01 [Xenomai-help] arch/arm/kernel/ipipe.c:421: error: implicit declaration of function '__ipipe_mach_irq_mux_p' David Tao
2009-08-25  8:06 ` Gilles Chanteperdrix

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.