15 Jul, 2013
1 commit
-
The __cpuinit type of throwaway sections might have made sense
some time ago when RAM was more constrained, but now the savings
do not offset the cost and complications. For example, the fix in
commit 5e427ec2d0 ("x86: Fix bit corruption at CPU resume time")
is a good example of the nasty type of bugs that can be created
with improper use of the various __init prefixes.After a discussion on LKML[1] it was decided that cpuinit should go
the way of devinit and be phased out. Once all the users are gone,
we can then finally remove the macros themselves from linux/init.h.This removes all the drivers/clocksource and drivers/irqchip uses of
the __cpuinit macros from all C files.[1] https://lkml.org/lkml/2013/5/20/589
Cc: John Stultz
Cc: Thomas Gleixner
Acked-by: Thomas Gleixner
Signed-off-by: Paul Gortmaker
13 Jun, 2013
1 commit
-
Log core clock and Meta timer frequencies during init in architecture
generic code, removing the need for equivalent log messages in SoC
specific code.Signed-off-by: James Hogan
Cc: John Stultz
Cc: Thomas Gleixner
03 Mar, 2013
1 commit
-
Add time keeping code for metag. Meta hardware threads have 2 timers.
The background timer (TXTIMER) is used as a free-running time base, and
the interrupt timer (TXTIMERI) is used for the timer interrupt. Both
counters traditionally count at approximately 1MHz.Signed-off-by: James Hogan
Cc: John Stultz
Cc: Thomas Gleixner