patch-2.4.20 linux-2.4.20/arch/s390/kernel/time.c
Next file: linux-2.4.20/arch/s390/kernel/traps.c
Previous file: linux-2.4.20/arch/s390/kernel/smp.c
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Thu Nov 28 15:53:11 2002
- Orig file:
linux-2.4.19/arch/s390/kernel/time.c
- Orig date:
Fri Aug 2 17:39:43 2002
diff -urN linux-2.4.19/arch/s390/kernel/time.c linux-2.4.20/arch/s390/kernel/time.c
@@ -39,6 +39,7 @@
#define TICK_SIZE tick
+static ext_int_info_t ext_int_info_timer;
static uint64_t init_timer_cc;
extern rwlock_t xtime_lock;
@@ -224,7 +225,8 @@
tod_to_timeval(set_time_cc, &xtime);
/* request the 0x1004 external interrupt */
- if (register_external_interrupt(0x1004, do_comparator_interrupt) != 0)
+ if (register_early_external_interrupt(0x1004, do_comparator_interrupt,
+ &ext_int_info_timer) != 0)
panic("Couldn't request external interrupt 0x1004");
/* init CPU timer */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)