linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Minor bug in file irq.h
@ 2006-02-28  8:50 Laurent Lagrange
  2006-02-28 14:38 ` Kumar Gala
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Laurent Lagrange @ 2006-02-28  8:50 UTC (permalink / raw)
  To: linuxppc-embedded


Hello,

I use a Linux 2.6.9 on MPC85xx.

In the ./linux/include/asm-ppc/irq.h file, I encountered a problem with the
timer3 interrupt definition :
#define     SIU_INT_TIMER3          ((uint)0x0e+CPM_IRQ_OFFSET)

This definition generates a compilation error  because is interpreted as
something like
((uint)0x0(e+CPM_IRQ_OFFSET)) ie 0x0 exponent  + CPM_IRQ_OFFSET.

To work around just parenthesis or add a space character between 'e' and '+'
#define     SIU_INT_TIMER3          ((uint)0x0e +CPM_IRQ_OFFSET)

Laurent

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

end of thread, other threads:[~2006-04-07 15:16 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-02-28  8:50 Minor bug in file irq.h Laurent Lagrange
2006-02-28 14:38 ` Kumar Gala
2006-03-01 11:21   ` Laurent Lagrange
2006-02-28 20:58 ` Wolfgang Denk
2006-03-08 14:32 ` Stable Linux kernel 2.6 for MPC8XX Laurent Lagrange
2006-04-07  8:16   ` RTC/I2C on 82xx with Linux 2.6.x Laurent Lagrange
2006-04-07  8:57     ` Claus Gindhart
2006-04-07 15:17       ` Mark A. Greer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).