2007-05-25 15:37:12 +08:00
|
|
|
/* bugs.h: Sparc64 probes for various bugs.
|
2005-04-17 06:20:36 +08:00
|
|
|
*
|
2007-05-25 15:37:12 +08:00
|
|
|
* Copyright (C) 1996, 2007 David S. Miller (davem@davemloft.net)
|
2005-04-17 06:20:36 +08:00
|
|
|
*/
|
2007-05-25 15:37:12 +08:00
|
|
|
#include <asm/sstate.h>
|
2005-04-17 06:20:36 +08:00
|
|
|
|
|
|
|
extern unsigned long loops_per_jiffy;
|
|
|
|
|
|
|
|
static void __init check_bugs(void)
|
|
|
|
{
|
|
|
|
#ifndef CONFIG_SMP
|
|
|
|
cpu_data(0).udelay_val = loops_per_jiffy;
|
|
|
|
#endif
|
2007-05-25 15:37:12 +08:00
|
|
|
sstate_running();
|
2005-04-17 06:20:36 +08:00
|
|
|
}
|