patch-2.4.20 linux-2.4.20/arch/mips/mips-boards/atlas/atlas_setup.c

Next file: linux-2.4.20/arch/mips/mips-boards/generic/Makefile
Previous file: linux-2.4.20/arch/mips/mips-boards/atlas/atlas_int.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.19/arch/mips/mips-boards/atlas/atlas_setup.c linux-2.4.20/arch/mips/mips-boards/atlas/atlas_setup.c
@@ -59,6 +59,8 @@
 }
 
 extern void mips_time_init(void);
+extern void mips_timer_setup(struct irqaction *irq);
+extern unsigned long mips_rtc_get_time(void);
 
 void __init atlas_setup(void)
 {
@@ -86,7 +88,7 @@
 		prom_printf("Config serial console: %s\n", serial_console);
 		console_setup(serial_console, NULL);
 	}
-#endif	  
+#endif
 
 #ifdef CONFIG_REMOTE_DEBUG
 	argptr = prom_getcmdline();
@@ -124,6 +126,8 @@
 
 	rtc_ops = &atlas_rtc_ops;
 	board_time_init = mips_time_init;
+	board_timer_setup = mips_timer_setup;
+	rtc_get_time = mips_rtc_get_time;
 
 	mips_reboot_setup();
 }

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)