Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

[PATCH] ppc32: Fix an off-by-one error in ipic_init

There is an off-by-one error in the IPIC code that configures the
external interrupts (Edge or Level Sensitive).

Signed-off-by: Randy Vinson <rvinson@mvista.com>
Signed-off-by: Kumar Gala <kumar.gala@freescale.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

authored by

Kumar Gala and committed by
Linus Torvalds
e16fa6b9 1263cc67

+1 -1
+1 -1
arch/ppc/syslib/ipic.c
··· 479 479 temp = 0; 480 480 for (i = 0 ; i < senses_count ; i++) { 481 481 if ((senses[i] & IRQ_SENSE_MASK) == IRQ_SENSE_EDGE) { 482 - temp |= 1 << (16 - i); 482 + temp |= 1 << (15 - i); 483 483 if (i != 0) 484 484 irq_desc[i + irq_offset + MPC83xx_IRQ_EXT1 - 1].status = 0; 485 485 else