mirror of https://gitee.com/openkylin/linux.git
17 lines
365 B
C
17 lines
365 B
C
/* $Id: bugs.h,v 1.1 1996/12/26 13:25:20 davem Exp $
|
|
* include/asm-sparc64/bugs.h: Sparc probes for various bugs.
|
|
*
|
|
* Copyright (C) 1996 David S. Miller (davem@caip.rutgers.edu)
|
|
*/
|
|
|
|
#include <linux/config.h>
|
|
|
|
extern unsigned long loops_per_jiffy;
|
|
|
|
static void __init check_bugs(void)
|
|
{
|
|
#ifndef CONFIG_SMP
|
|
cpu_data(0).udelay_val = loops_per_jiffy;
|
|
#endif
|
|
}
|