On Tue, 2011-08-09 at 18:35 +0200, Arnd Bergmann wrote: > > +static cycle_t tsc_read(struct clocksource *cs) > > +{ > > + return get_cycles(); > > +} > > What is this good for? TSC is an x86 specific feature, so you should > just > be able to use get_cycles directly. > TSC (Time Stamp Counter) is how the C6X hardware manuals refer to the free running 64-bit core clock counter. The tsc_read function is needed to provide a function with the correct prototype for struct clocksource read method. --Mark -- To unsubscribe from this list: send the line "unsubscribe linux-arch" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html