shift and clocksource
Sascha Hauer
s.hauer at pengutronix.de
Mon Jun 20 02:25:59 EDT 2011
Hi Carlo,
On Sun, Jun 19, 2011 at 06:18:44PM +0200, Carlo Caione wrote:
> Hi,
> I was looking in the sources for time keeping. Why the shift field of
> the clocksource structure is always set to 10? Also using the
> clocks_calc_mult_shift() in kernel sources I obtain different values
> for the shift variable.
The value 10 is copied from the initial clocksource. We should add
clocks_calc_mult_shift() to barebox and use it there also.
Sascha
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
More information about the barebox
mailing list