* Martin Michlmayr <tbm@xxxxxxxxxx> [2006-02-19 22:21]: > From: Dave Johnson <djohnson+linuxmips@xxxxxxxxxxxxxxxxxxxxxx> > [MIPS] Fix for gettimeofday jumping backwards, then forwards. Dave, this patch leads to the following compilation on SB1 1480: arch/mips/sibyte/swarm/lib.a(setup.o): In function `swarm_time_init':setup.c:(.init.text+0x2b8): undefined reference to `sb1250_hpt_setup' > arch/mips/sibyte/sb1250/time.c | 77 ++++++++++++++++++++++++++--------- > arch/mips/sibyte/swarm/setup.c | 7 +++ > +++ new/arch/mips/sibyte/swarm/setup.c 2006-01-16 16:39:27.000000000 +0000 > @@ -70,6 +70,12 @@ > return "SiByte " SIBYTE_BOARD_NAME; > } > > +void __init swarm_time_init(void) > +{ > + /* Setup HPT */ > + sb1250_hpt_setup(); > +} > + ... -- Martin Michlmayr http://www.cyrius.com/