Re: [PATCH 3/5] Deforest the function pointer jungle in the time code.

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

 



On 6/19/07, Ralf Baechle <ralf@xxxxxxxxxxxxxx> wrote:
For practically every type of timer there are reasons why it is may be
undesierable such as being configured in a way that makes it undesirable
or unusable, unpredictable clock changes and more.  So in practice only
the platform specific code can drive the initialization of all timer
devices and interrupts which reduces the generic code to sort of a
library and driver collection.


Yeah that's true. If you look at time_init() arch hook after patch 5/5
is applied, you can see that it's now:

void __init time_init(void)
{
       plat_time_init();
       plat_timer_setup();
}

--
              Franck


[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux