question about arch/arm/mach-h720x/include/mach/irqs.h

Julia Lawall julia at diku.dk
Wed Sep 1 11:40:49 EDT 2010


The file arch/arm/mach-h720x/include/mach/irqs.h contains the following 
code:

/* Enable mask for multiplexed interrupts */
#define IRQ_ENA_MUX	(1<<IRQ_TIMERX) | (1<<IRQ_GPIOA) | (1<<IRQ_GPIOB) | \
 			(1<<IRQ_GPIOC) 	| (1<<IRQ_GPIOD) | (1<<IRQ_GPIOE) | \
 			(1<<IRQ_TIMERX)

This code includes the expression (1<<IRQ_TIMERX) twice.  Could the second 
(1<<IRQ_TIMERX) just be dropped, or was something else intended?

thanks,
julia



More information about the linux-arm-kernel mailing list