[BACK]Return to bugs.h CVS log [TXT][DIR] Up to [Development] / linux-2.6-xfs / include / asm-sparc64

File: [Development] / linux-2.6-xfs / include / asm-sparc64 / Attic / bugs.h (download)

Revision 1.4, Fri Jun 8 16:17:19 2007 UTC (10 years, 4 months ago) by tes.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.3: +4 -4 lines

Merge up to 2.6.22-rc4
Merge of 2.6.x-xfs-melb:linux:28871a by kenmcd.

/* 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();
}