Thread (24 messages) flat view 24 messages, 7 authors, 2009-06-16

Re: [PATCH 2/2] uio: add an of_genirq driver

From: Alan Cox <hidden>
Date: 2009-06-15 08:44:05
Also in: linux-devicetree, lkml

I did it that way because I saw IRQ 0 in /proc/interrupts on every PC...
quoted
It is the job of the platform to map a physical IRQ 0 to some other
representation if it exists outside of arch specific code.
Funny.
quoted
This was
decided some years ago and a large part of the kernel simply doesn't
support any notion of a real IRQ 0.
Can you tell me the reason for that decision or point me to some ml archive?
The natural C way to write "No xxx" is if (!xxx) hence

	if (!dev->irq) {
		polling_start();
		return 0;
	}

The PC "IRQ 0" is the timer - which only appears in the arch code.

Alan
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help