patch-2.3.49 linux/arch/alpha/kernel/time.c
Next file: linux/arch/alpha/mm/fault.c
Previous file: linux/arch/alpha/kernel/sys_takara.c
Back to the patch index
Back to the overall index
- Lines: 40
- Date:
Sun Feb 27 13:28:01 2000
- Orig file:
v2.3.48/linux/arch/alpha/kernel/time.c
- Orig date:
Sat Feb 26 22:31:38 2000
diff -u --recursive --new-file v2.3.48/linux/arch/alpha/kernel/time.c linux/arch/alpha/kernel/time.c
@@ -163,7 +163,7 @@
}
void
-common_init_rtc(struct irqaction *action)
+common_init_rtc()
{
unsigned char x;
@@ -192,18 +192,12 @@
outb(0x31, 0x42);
outb(0x13, 0x42);
- setup_irq(RTC_IRQ, action);
+ init_rtc_irq();
}
void
time_init(void)
{
- static struct irqaction timer_irqaction = {
- handler: timer_interrupt,
- flags: SA_INTERRUPT,
- name: "timer",
- };
-
unsigned int year, mon, day, hour, min, sec, cc1, cc2;
unsigned long cycle_freq, one_percent;
long diff;
@@ -292,7 +286,9 @@
state.partial_tick = 0L;
/* Startup the timer source. */
- alpha_mv.init_rtc(&timer_irqaction);
+ alpha_mv.init_rtc();
+
+ do_get_fast_time = do_gettimeofday;
}
/*
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)