2007-05-25 07:37:12 +00:00
|
|
|
/* bugs.h: Sparc64 probes for various bugs.
|
2005-04-16 22:20:36 +00:00
|
|
|
*
|
2007-05-25 07:37:12 +00:00
|
|
|
* Copyright (C) 1996, 2007 David S. Miller (davem@davemloft.net)
|
2005-04-16 22:20:36 +00:00
|
|
|
*/
|
2007-05-25 07:37:12 +00:00
|
|
|
#include <asm/sstate.h>
|
2005-04-16 22:20:36 +00: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 07:37:12 +00:00
|
|
|
sstate_running();
|
2005-04-16 22:20:36 +00:00
|
|
|
}
|