static irqreturn_t sun3_int5(int irq, void *dev_id) { #ifdef CONFIG_SUN3 intersil_clear(); #endif *sun3_intreg |= (1 << irq); #ifdef CONFIG_SUN3 intersil_clear(); #endif xtime_update(1); update_process_times(user_mode(get_irq_regs())); if (!(kstat_cpu(0).irqs[irq] % 20)) sun3_leds(led_pattern[(kstat_cpu(0).irqs[irq] % 160) / 20]); return IRQ_HANDLED; }
static void sun3_int5(int irq, void *dev_id, struct pt_regs *fp) { kstat.irqs[0][SYS_IRQS + irq]++; #ifdef CONFIG_SUN3 intersil_clear(); #endif *sun3_intreg &= ~(1<<irq); *sun3_intreg |= (1<<irq); #ifdef CONFIG_SUN3 intersil_clear(); #endif do_timer(fp); if(!(kstat.irqs[0][SYS_IRQS + irq] % 20)) sun3_leds(led_pattern[(kstat.irqs[0][SYS_IRQS+irq]%160) /20]); }
static irqreturn_t sun3_int5(int irq, void *dev_id, struct pt_regs *fp) { #ifdef CONFIG_SUN3 intersil_clear(); #endif *sun3_intreg |= (1 << irq); #ifdef CONFIG_SUN3 intersil_clear(); #endif do_timer(fp); #ifndef CONFIG_SMP update_process_times(user_mode(fp)); #endif if (!(kstat_cpu(0).irqs[irq] % 20)) sun3_leds(led_pattern[(kstat_cpu(0).irqs[irq] % 160) / 20]); return IRQ_HANDLED; }
static irqreturn_t sun3_int5(int irq, void *dev_id) { unsigned int cnt; #ifdef CONFIG_SUN3 intersil_clear(); #endif #ifdef CONFIG_SUN3 intersil_clear(); #endif xtime_update(1); update_process_times(user_mode(get_irq_regs())); cnt = kstat_irqs_cpu(irq, 0); if (!(cnt % 20)) sun3_leds(led_pattern[cnt % 160 / 20]); return IRQ_HANDLED; }
static irqreturn_t sun3_int5(int irq, void *dev_id, struct pt_regs *fp) { kstat_cpu(0).irqs[SYS_IRQS + irq]++; #ifdef CONFIG_SUN3 intersil_clear(); #endif *sun3_intreg &= ~(1<<irq); *sun3_intreg |= (1<<irq); #ifdef CONFIG_SUN3 intersil_clear(); #endif do_timer(fp); if(!(kstat_cpu(0).irqs[SYS_IRQS + irq] % 20)) sun3_leds(led_pattern[(kstat_cpu(0).irqs[SYS_IRQS+irq]%160) /20]); return IRQ_HANDLED; }
static irqreturn_t sun3_int5(int irq, void *dev_id) { unsigned long flags; unsigned int cnt; local_irq_save(flags); #ifdef CONFIG_SUN3 intersil_clear(); #endif sun3_disable_irq(5); sun3_enable_irq(5); #ifdef CONFIG_SUN3 intersil_clear(); #endif xtime_update(1); update_process_times(user_mode(get_irq_regs())); cnt = kstat_irqs_cpu(irq, 0); if (!(cnt % 20)) sun3_leds(led_pattern[cnt % 160 / 20]); local_irq_restore(flags); return IRQ_HANDLED; }