bugs.h 365 B

1234567891011121314151617
  1. /* include/asm/bugs.h: Sparc probes for various bugs.
  2. *
  3. * Copyright (C) 1996, 2007 David S. Miller ([email protected])
  4. */
  5. #ifdef CONFIG_SPARC32
  6. #include <asm/cpudata.h>
  7. #endif
  8. extern unsigned long loops_per_jiffy;
  9. static void __init check_bugs(void)
  10. {
  11. #if defined(CONFIG_SPARC32) && !defined(CONFIG_SMP)
  12. cpu_data(0).udelay_val = loops_per_jiffy;
  13. #endif
  14. }