Port-pmax archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Custom kernel for DS5000 does no longer compile



2008/3/14, Izumi Tsutsui <tsutsui%ceres.dti.ne.jp@localhost>:
...
>
> Such mips3 stuff (for DS5000/150) should be wrapped
>  with #if defined(MIPS3)?
>  ---
>  Izumi Tsutsui
>
>
>  Index: dec_3min.c
>  ===================================================================
>  RCS file: /cvsroot/src/sys/arch/pmax/pmax/dec_3min.c,v
>  retrieving revision 1.59
>  diff -u -r1.59 dec_3min.c
>  --- dec_3min.c  3 Jan 2008 23:02:25 -0000       1.59
>  +++ dec_3min.c  14 Mar 2008 13:12:27 -0000
>  @@ -502,6 +502,7 @@
>   void
>   dec_3min_tc_init(void)
>   {
>  +#if defined(MIPS3)
>         static struct timecounter tc =  {
>                 .tc_get_timecount = (timecounter_get_t *)mips3_cp0_count_read,
>                 .tc_counter_mask = ~0u,
>  @@ -517,4 +518,5 @@
>
>                 tc_init(&tc);
>         }
>  +#endif
>   }
>
>

I can confirm that my kernel builds and runs with the patch above -- thank you

- Erik


Home | Main Index | Thread Index | Old Index