aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2009-05-08 09:14:01 -0400
committerPaul Mundt <lethal@linux-sh.org>2009-05-08 09:14:01 -0400
commit7b551f9daa9bd9533ba4ce31622ed4be1dd97d3e (patch)
tree331102b4e51320570a00293fc59389e4b455c07e
parentccdaeb4c8f982900a2abf722e34b60131394d8eb (diff)
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>
-rw-r--r--arch/sh/kernel/setup.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/sh/kernel/setup.c b/arch/sh/kernel/setup.c
index 38515a795920..00086b234278 100644
--- a/arch/sh/kernel/setup.c
+++ b/arch/sh/kernel/setup.c
@@ -156,7 +156,7 @@ static void __init reserve_crashkernel(void)
156 &crash_size, &crash_base); 156 &crash_size, &crash_base);
157 if (ret == 0 && crash_size) { 157 if (ret == 0 && crash_size) {
158 if (crash_base <= 0) { 158 if (crash_base <= 0) {
159 vp = alloc_bootmem_nopanic(crash_size); 159 vp = alloc_bootmem_nopanic(crash_size);
160 if (!vp) { 160 if (!vp) {
161 printk(KERN_INFO "crashkernel allocation " 161 printk(KERN_INFO "crashkernel allocation "
162 "failed\n"); 162 "failed\n");
@@ -185,7 +185,6 @@ static inline void __init reserve_crashkernel(void)
185{} 185{}
186#endif 186#endif
187 187
188#ifndef CONFIG_GENERIC_CALIBRATE_DELAY
189void __cpuinit calibrate_delay(void) 188void __cpuinit calibrate_delay(void)
190{ 189{
191 struct clk *clk = clk_get(NULL, "cpu_clk"); 190 struct clk *clk = clk_get(NULL, "cpu_clk");
@@ -201,7 +200,6 @@ void __cpuinit calibrate_delay(void)
201 (loops_per_jiffy/(5000/HZ)) % 100, 200 (loops_per_jiffy/(5000/HZ)) % 100,
202 loops_per_jiffy); 201 loops_per_jiffy);
203} 202}
204#endif
205 203
206void __init __add_active_range(unsigned int nid, unsigned long start_pfn, 204void __init __add_active_range(unsigned int nid, unsigned long start_pfn,
207 unsigned long end_pfn) 205 unsigned long end_pfn)