Minor bug in file irq.h
Kumar Gala
galak at kernel.crashing.org
Wed Mar 1 01:38:02 EST 2006
On Feb 28, 2006, at 2:50 AM, Laurent Lagrange wrote:
>
> 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)
Do you mind providing this in patch form with a signed-off-by. I'll
include it in the queue of 85xx related patches.
- kumar
More information about the Linuxppc-embedded
mailing list