IRQ patch

Elliot Frisch (efrisch@wsp1.wspice.com)
Sun, 10 Mar 1996 14:00:24 -0600 (CST)


OK - you like ASCII ... we can do ASCII
can anyone tell me, again?

elliott

------

*** irq.c.orig Sat Mar 9 01:00:14 1996
--- irq.c Sun Mar 10 00:38:12 1996
***************
*** 363,376 ****
rand_initialize_irq(irq);
save_flags(flags);
cli();
! if (irq == 2)
! action = &cascade_irq;
! else if (irq == 13)
! action = &math_irq;
! else if (irq == TIMER_IRQ)
! action = &timer_irq;
! else
! action = (struct irqaction *)kmalloc(sizeof(struct irqaction), GFP_KERNEL);

if (!action) {
restore_flags(flags);
--- 363,384 ----
rand_initialize_irq(irq);
save_flags(flags);
cli();
!
! /* Changed March 10, 1996 <efrisch@wspice.com> */
! switch(irq) {
! case 2:
! action = &cascade_irq;
! break;
! case 13:
! action = &math_irq;
! break;
! case TIMER_IRQ:
! action = &timer_irq;
! break;
! default:
! action = (struct irqaction *)kmalloc(sizeof(struct irqaction), GFP_KERNEL);
! break;
! }

if (!action) {
restore_flags(flags);