http://marc.info/?l=linux-arm-kernel&m=106855188425730&w=2On Tue, Nov 11, 2003 at 02:28:43PM +0530, Aman wrote: > > > Hi All, > > I am working on s3c2410 processor. The external interrupt IRQ_EINT0 pin > (IRQ0) is connected to a On/off button. When I press "on/off" button after > calling request_irq () to register the interrupt handler, the system hangs. > ie when interrupt handler for irq0 is installed and the irq0 occurs, system > hangs. > > Is it a kernel problem ? The same code is working correctly with other > external interrupt pins. > > The test program i tried is given below. The answer is very simple, the interrupt handler code is broken wrt to having used an interrupt number of zero, which is causing the interrupt to never be serviced. -- Ben |
