aboutsummaryrefslogtreecommitdiff
path: root/include/asm-sparc/bugs.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-sparc/bugs.h')
-rw-r--r--include/asm-sparc/bugs.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/include/asm-sparc/bugs.h b/include/asm-sparc/bugs.h
new file mode 100644
index 00000000000..e652f89e0ef
--- /dev/null
+++ b/include/asm-sparc/bugs.h
@@ -0,0 +1,17 @@
+/* $Id: bugs.h,v 1.1 1996/12/26 13:25:20 davem Exp $
+ * include/asm-sparc/bugs.h: Sparc probes for various bugs.
+ *
+ * Copyright (C) 1996 David S. Miller (davem@caip.rutgers.edu)
+ */
+
+#include <asm/cpudata.h>
+#include <linux/config.h>
+
+extern unsigned long loops_per_jiffy;
+
+static void check_bugs(void)
+{
+#ifndef CONFIG_SMP
+ cpu_data(0).udelay_val = loops_per_jiffy;
+#endif
+}