Re[2]: [PATCH] clocksource: Add pointer to clocksource structure in read function

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

 



> On 10:35 Sat 20 Apr     , Alexander Shiyan wrote:
> > 
> > This patch adds pointer to clocksource structure in read function.
> > For avoid name collisions, clocksource names for all drivers was
> > changed to be unique.
> why?
> 
> no need the clocksource is hot path don't touch it
> and we do not need the struct pointer as we can have only 1 cs in barebox

This change allows to add an additional field in struct clocksource then
we can remove static variables from clocksource drivers.

---
_______________________________________________
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