e652f89e0effdc95335cd89fdfb6fc361b394a35
[safe/jmp/linux-2.6] / include / asm-sparc / bugs.h
1 /*  $Id: bugs.h,v 1.1 1996/12/26 13:25:20 davem Exp $
2  *  include/asm-sparc/bugs.h:  Sparc probes for various bugs.
3  *
4  *  Copyright (C) 1996 David S. Miller (davem@caip.rutgers.edu)
5  */
6
7 #include <asm/cpudata.h>
8 #include <linux/config.h>
9
10 extern unsigned long loops_per_jiffy;
11
12 static void check_bugs(void)
13 {
14 #ifndef CONFIG_SMP
15         cpu_data(0).udelay_val = loops_per_jiffy;
16 #endif
17 }