Port-mips archive

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

Re: removing ci_divisor_recip in mips struct cpu_info



Andrew Doran wrote:

> On Sat, May 24, 2008 at 08:30:23AM +0900, Izumi Tsutsui wrote:
> 
> > Index: sys/arch/mips/include/cpu.h
> > ===================================================================
> > RCS file: /cvsroot/src/sys/arch/mips/include/cpu.h,v
> > retrieving revision 1.89
> > diff -u -r1.89 cpu.h
> > --- sys/arch/mips/include/cpu.h     27 Feb 2008 18:26:16 -0000      1.89
> > +++ sys/arch/mips/include/cpu.h     23 May 2008 18:13:40 -0000
> > @@ -58,8 +58,6 @@
> >     u_long ci_cpu_freq;             /* CPU frequency */
> >     u_long ci_cycles_per_hz;        /* CPU freq / hz */
> >     u_long ci_divisor_delay;        /* for delay/DELAY */
> > -   u_long ci_divisor_recip;        /* scaled reciprocal of previous;
> > -                                      see below */
> 
> How about "u_long unused" so the layout does not change?

Is the layout that important?  "struct cpu_info" always seems to have
been a bit volatile - there were a couple of new additions to the MIPS
one only a week or two ago.

Cheers,
Simon.


Home | Main Index | Thread Index | Old Index