bugs.h 381 B

1234567891011121314151617
  1. /* $Id: bugs.h,v 1.1 1996/12/26 13:25:20 davem Exp $
  2. * include/asm-sparc/bugs.h: Sparc probes for various bugs.
  3. *
  4. * Copyright (C) 1996 David S. Miller (davem@caip.rutgers.edu)
  5. */
  6. #include <asm/cpudata.h>
  7. #include <linux/config.h>
  8. extern unsigned long loops_per_jiffy;
  9. static void check_bugs(void)
  10. {
  11. #ifndef CONFIG_SMP
  12. cpu_data(0).udelay_val = loops_per_jiffy;
  13. #endif
  14. }