aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-sparc64/bugs.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-sparc64/bugs.h')
-rw-r--r--include/asm-sparc64/bugs.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/include/asm-sparc64/bugs.h b/include/asm-sparc64/bugs.h
new file mode 100644
index 000000000000..360dd04ed8e4
--- /dev/null
+++ b/include/asm-sparc64/bugs.h
@@ -0,0 +1,16 @@
1/* $Id: bugs.h,v 1.1 1996/12/26 13:25:20 davem Exp $
2 * include/asm-sparc64/bugs.h: Sparc probes for various bugs.
3 *
4 * Copyright (C) 1996 David S. Miller (davem@caip.rutgers.edu)
5 */
6
7#include <linux/config.h>
8
9extern unsigned long loops_per_jiffy;
10
11static void __init check_bugs(void)
12{
13#ifndef CONFIG_SMP
14 cpu_data(0).udelay_val = loops_per_jiffy;
15#endif
16}