[SPARC64]: Fix Tomatillo/Schizo IRQ handling.
authorDavid S. Miller <davem@sunset.davemloft.net>
Mon, 30 Oct 2006 00:32:31 +0000 (16:32 -0800)
committerDavid S. Miller <davem@sunset.davemloft.net>
Tue, 31 Oct 2006 03:33:33 +0000 (19:33 -0800)
commit9001f2850ff92b52d7654379e7b7feb72f78f161
tree2482fa3e7653f633dad7b0e864ade020d390d719
parenta7aacdf9ea45bf6139cfd750e558a3dcbc6f16c3
[SPARC64]: Fix Tomatillo/Schizo IRQ handling.

The code in schizo_irq_trans_init() should set irq_data->sync_reg
to the location of the SYNC register if this is Tomatillo, and set
it to zero otherwise.  But that is not what it is doing.

As a result, non-Tomatillo systems were trying to access a
non-existent register resulting in bus errors at the first
PCI interrupt.

Thanks to Roland Stigge for the bug report.

Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc64/kernel/prom.c