Re: shift and clocksource

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 |

_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox


[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux