summaryrefslogtreecommitdiffstats
path: root/include/asm-sparc64/bugs.h
blob: bf39d86c0c9ec6f3c74a8ff430109b4b431df615 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* 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();
}