Re: [patch 6/9] Add the "Master Timer"

From: Jiri Bohac
Date: Thu Feb 01 2007 - 08:26:17 EST


On Thu, Feb 01, 2007 at 12:22:55PM +0100, Andi Kleen wrote:
> >
> > -unsigned int cpu_khz; /* TSC clocks / usec, not used here */
> > +unsigned int cpu_khz; /* TSC clocks / usec, not used here */
> > +static s64 mt_per_tick; /* master timer ticks per jiffie */
> > +static u64 __mt; /* master timer */
> > +static u32 __mt_last; /* value last read from read_master_timer() when updating timer caches */
>
> Why the underscores?

To make it clear that the variables should not be used directly.
They should only be accessed through the get_master_timer(),
set_master_timer64(), etc. funcitions.

Something wrong with that? I have no problem deleting the
underscores :-)

--
Jiri Bohac <jbohac@xxxxxxx>
SUSE Labs, SUSE CZ

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/