summaryrefslogtreecommitdiff
path: root/arch/m32r/include/asm/bugs.h
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2009-05-04 18:05:23 +0400
committerTakashi Iwai <tiwai@suse.de>2009-05-04 18:05:23 +0400
commit8560b9321f9050968f393ce1ec67e47c1a0bd5cf (patch)
tree658ebb20e4fd5dee840f27103b59da367ff473b1 /arch/m32r/include/asm/bugs.h
parent72e31981a4e91f84c5b5e8994f5d25b1cf22b6cf (diff)
parent6574612fbb34c63117581e68f2231ddce027e41e (diff)
downloadlinux-8560b9321f9050968f393ce1ec67e47c1a0bd5cf.tar.xz
Merge branch 'fix/asoc' into topic/asoc
Diffstat (limited to 'arch/m32r/include/asm/bugs.h')
-rw-r--r--arch/m32r/include/asm/bugs.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/arch/m32r/include/asm/bugs.h b/arch/m32r/include/asm/bugs.h
new file mode 100644
index 000000000000..f77214eff136
--- /dev/null
+++ b/arch/m32r/include/asm/bugs.h
@@ -0,0 +1,19 @@
+#ifndef _ASM_M32R_BUGS_H
+#define _ASM_M32R_BUGS_H
+
+/*
+ * This is included by init/main.c to check for architecture-dependent bugs.
+ *
+ * Needs:
+ * void check_bugs(void);
+ */
+#include <asm/processor.h>
+
+static void __init check_bugs(void)
+{
+ extern unsigned long loops_per_jiffy;
+
+ current_cpu_data.loops_per_jiffy = loops_per_jiffy;
+}
+
+#endif /* _ASM_M32R_BUGS_H */