summaryrefslogtreecommitdiff
path: root/arch/sh/include/asm/bugs.h
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2009-11-24 07:32:11 (GMT)
committerPaul Mundt <lethal@linux-sh.org>2009-11-24 07:32:11 (GMT)
commit49fb2cd2571e0134e5a12c5abab227696e4940c7 (patch)
tree9a77364e988ef3f3af24feee3f5bb91bd0c34129 /arch/sh/include/asm/bugs.h
parentdfc349402de8e95f6a42e8341e9ea193b718eee3 (diff)
parent260af56271f79da0e37faa5a99b1786b221297e5 (diff)
downloadlinux-fsl-qoriq-49fb2cd2571e0134e5a12c5abab227696e4940c7.tar.xz
Merge branch 'master' into sh/st-integration
Diffstat (limited to 'arch/sh/include/asm/bugs.h')
-rw-r--r--arch/sh/include/asm/bugs.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/sh/include/asm/bugs.h b/arch/sh/include/asm/bugs.h
index 46260fc..02a19a1 100644
--- a/arch/sh/include/asm/bugs.h
+++ b/arch/sh/include/asm/bugs.h
@@ -14,11 +14,15 @@
#include <asm/processor.h>
+extern void select_idle_routine(void);
+
static void __init check_bugs(void)
{
extern unsigned long loops_per_jiffy;
char *p = &init_utsname()->machine[2]; /* "sh" */
+ select_idle_routine();
+
current_cpu_data.loops_per_jiffy = loops_per_jiffy;
switch (current_cpu_data.family) {