bugs.h 404 B

123456789101112131415161718
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. /* include/asm/bugs.h: Sparc probes for various bugs.
  3. *
  4. * Copyright (C) 1996, 2007 David S. Miller (davem@davemloft.net)
  5. */
  6. #ifdef CONFIG_SPARC32
  7. #include <asm/cpudata.h>
  8. #endif
  9. extern unsigned long loops_per_jiffy;
  10. static void __init check_bugs(void)
  11. {
  12. #if defined(CONFIG_SPARC32) && !defined(CONFIG_SMP)
  13. cpu_data(0).udelay_val = loops_per_jiffy;
  14. #endif
  15. }