https://github.com/torvalds/linux
Raw File
Tip revision: 606135a3081e045b677cde164a296c51f66c4633 authored by Linus Torvalds on 28 February 2007, 04:59:12 UTC
Linux 2.6.21-rc2
Tip revision: 606135a
bugs.h
/*  $Id: bugs.h,v 1.1 1996/12/26 13:25:20 davem Exp $
 *  include/asm-sparc/bugs.h:  Sparc probes for various bugs.
 *
 *  Copyright (C) 1996 David S. Miller (davem@caip.rutgers.edu)
 */

#include <asm/cpudata.h>

extern unsigned long loops_per_jiffy;

static void check_bugs(void)
{
#ifndef CONFIG_SMP
	cpu_data(0).udelay_val = loops_per_jiffy;
#endif
}
back to top