Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 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 | |||||
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 7 | |
8 | extern unsigned long loops_per_jiffy; | ||||
9 | |||||
10 | static void __init check_bugs(void) | ||||
11 | { | ||||
12 | #ifndef CONFIG_SMP | ||||
13 | cpu_data(0).udelay_val = loops_per_jiffy; | ||||
14 | #endif | ||||
15 | } |