mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-24 11:34:50 +08:00
22d6a1cba3
Signed-off-by: David S. Miller <davem@davemloft.net>
16 lines
309 B
C
16 lines
309 B
C
/* bugs.h: Sparc64 probes for various bugs.
|
|
*
|
|
* Copyright (C) 1996, 2007 David S. Miller (davem@davemloft.net)
|
|
*/
|
|
#include <asm/sstate.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
|
|
sstate_running();
|
|
}
|