sh: Kill off the GENERIC_CALIBRATE_DELAY ifndef.
Now that everyone is using the clock framework directly and we unconditionally provide our own calibrate_delay() function, having it wrapped in an ifndef is no longer useful. So, kill it off. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
This commit is contained in:
@@ -185,7 +185,6 @@ static inline void __init reserve_crashkernel(void)
|
|||||||
{}
|
{}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef CONFIG_GENERIC_CALIBRATE_DELAY
|
|
||||||
void __cpuinit calibrate_delay(void)
|
void __cpuinit calibrate_delay(void)
|
||||||
{
|
{
|
||||||
struct clk *clk = clk_get(NULL, "cpu_clk");
|
struct clk *clk = clk_get(NULL, "cpu_clk");
|
||||||
@@ -201,7 +200,6 @@ void __cpuinit calibrate_delay(void)
|
|||||||
(loops_per_jiffy/(5000/HZ)) % 100,
|
(loops_per_jiffy/(5000/HZ)) % 100,
|
||||||
loops_per_jiffy);
|
loops_per_jiffy);
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
|
|
||||||
void __init __add_active_range(unsigned int nid, unsigned long start_pfn,
|
void __init __add_active_range(unsigned int nid, unsigned long start_pfn,
|
||||||
unsigned long end_pfn)
|
unsigned long end_pfn)
|
||||||
|
Reference in New Issue
Block a user