patch-2.4.20 linux-2.4.20/arch/s390x/kernel/time.c

Next file: linux-2.4.20/arch/s390x/kernel/traps.c
Previous file: linux-2.4.20/arch/s390x/kernel/sys_s390.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.19/arch/s390x/kernel/time.c linux-2.4.20/arch/s390x/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;
@@ -197,7 +198,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)