blob: a0f939beeea12de43ecafca6c626bc15a89f63d5 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001/* $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>
Linus Torvalds1da177e2005-04-16 15:20:36 -07008
9extern unsigned long loops_per_jiffy;
10
11static void check_bugs(void)
12{
13#ifndef CONFIG_SMP
14 cpu_data(0).udelay_val = loops_per_jiffy;
15#endif
16}