[IA64-SGI] Shub2 provides an addition of 2 External Interrupt events.
Signed-off-by: Colin Ngam <cngam@sgi.com> Signed-off-by: Tony Luck <tony.luck@intel.com>
This commit is contained in:
@@ -82,20 +82,9 @@ static void sn_ack_irq(unsigned int irq)
|
||||
nasid = get_nasid();
|
||||
event_occurred =
|
||||
HUB_L((uint64_t *) GLOBAL_MMR_ADDR(nasid, SH_EVENT_OCCURRED));
|
||||
if (event_occurred & SH_EVENT_OCCURRED_UART_INT_MASK) {
|
||||
mask |= (1 << SH_EVENT_OCCURRED_UART_INT_SHFT);
|
||||
}
|
||||
if (event_occurred & SH_EVENT_OCCURRED_IPI_INT_MASK) {
|
||||
mask |= (1 << SH_EVENT_OCCURRED_IPI_INT_SHFT);
|
||||
}
|
||||
if (event_occurred & SH_EVENT_OCCURRED_II_INT0_MASK) {
|
||||
mask |= (1 << SH_EVENT_OCCURRED_II_INT0_SHFT);
|
||||
}
|
||||
if (event_occurred & SH_EVENT_OCCURRED_II_INT1_MASK) {
|
||||
mask |= (1 << SH_EVENT_OCCURRED_II_INT1_SHFT);
|
||||
}
|
||||
mask = event_occurred & SH_ALL_INT_MASK;
|
||||
HUB_S((uint64_t *) GLOBAL_MMR_ADDR(nasid, SH_EVENT_OCCURRED_ALIAS),
|
||||
mask);
|
||||
mask);
|
||||
__set_bit(irq, (volatile void *)pda->sn_in_service_ivecs);
|
||||
|
||||
move_irq(irq);
|
||||
|
Reference in New Issue
Block a user