summaryrefslogtreecommitdiffstats
path: root/kernel/arch/avr32/include/asm/bugs.h
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/arch/avr32/include/asm/bugs.h')
-rw-r--r--kernel/arch/avr32/include/asm/bugs.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/kernel/arch/avr32/include/asm/bugs.h b/kernel/arch/avr32/include/asm/bugs.h
new file mode 100644
index 000000000..278661bbd
--- /dev/null
+++ b/kernel/arch/avr32/include/asm/bugs.h
@@ -0,0 +1,15 @@
+/*
+ * This is included by init/main.c to check for architecture-dependent bugs.
+ *
+ * Needs:
+ * void check_bugs(void);
+ */
+#ifndef __ASM_AVR32_BUGS_H
+#define __ASM_AVR32_BUGS_H
+
+static void __init check_bugs(void)
+{
+ boot_cpu_data.loops_per_jiffy = loops_per_jiffy;
+}
+
+#endif /* __ASM_AVR32_BUGS_H */