Messages in this thread | | | Date | Thu, 1 Feb 2007 14:29:04 +0100 | From | Jiri Bohac <> | Subject | Re: [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/
| |