patch-2.4.19 linux-2.4.19/arch/mips64/sgi-ip27/ip27-setup.c
Next file: linux-2.4.19/arch/mips64/sgi-ip27/ip27-timer.c
Previous file: linux-2.4.19/arch/mips64/sgi-ip27/ip27-rtc.c
Back to the patch index
Back to the overall index
- Lines: 41
- Date:
Fri Aug 2 17:39:43 2002
- Orig file:
linux-2.4.18/arch/mips64/sgi-ip27/ip27-setup.c
- Orig date:
Sun Sep 9 10:43:02 2001
diff -urN linux-2.4.18/arch/mips64/sgi-ip27/ip27-setup.c linux-2.4.19/arch/mips64/sgi-ip27/ip27-setup.c
@@ -14,6 +14,7 @@
#include <linux/spinlock.h>
#include <linux/sched.h>
#include <linux/smp.h>
+
#include <asm/io.h>
#include <asm/sn/types.h>
#include <asm/sn/sn0/addrs.h>
@@ -21,6 +22,7 @@
#include <asm/sn/sn0/hubio.h>
#include <asm/sn/klconfig.h>
#include <asm/sn/ioc3.h>
+#include <asm/time.h>
#include <asm/mipsregs.h>
#include <asm/sn/arch.h>
#include <asm/sn/sn_private.h>
@@ -40,8 +42,6 @@
#define DBG(x...)
#endif
-unsigned long mips_io_port_base = IO_BASE;
-
/*
* get_nasid() returns the physical node id number of the caller.
*/
@@ -275,6 +275,7 @@
}
extern void ip27_setup_console(void);
+extern void ip27_time_init(void);
void __init ip27_setup(void)
{
@@ -307,4 +308,7 @@
ioc3_sio_init();
ioc3_eth_init();
per_cpu_init();
+
+ mips_io_port_base = IO_BASE;
+ board_time_init = ip27_time_init;
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)