lkml.org 
[lkml]   [2007]   [Feb]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [patch 6/9] Add the "Master Timer"
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@suse.cz>
SUSE Labs, SUSE CZ

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

\
 
 \ /
  Last update: 2007-02-01 14:29    [W:0.082 / U:0.672 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site