bugs.h 309 字节
Newer Older
1
/* bugs.h: Sparc64 probes for various bugs.
L
Linus Torvalds 已提交
2
 *
3
 * Copyright (C) 1996, 2007 David S. Miller (davem@davemloft.net)
L
Linus Torvalds 已提交
4
 */
5
#include <asm/sstate.h>
L
Linus Torvalds 已提交
6 7 8 9 10 11 12 13

extern unsigned long loops_per_jiffy;

static void __init check_bugs(void)
{
#ifndef CONFIG_SMP
	cpu_data(0).udelay_val = loops_per_jiffy;
#endif
14
	sstate_running();
L
Linus Torvalds 已提交
15
}