bugs.h 786 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. #ifndef __ASM_SH64_BUGS_H
  2. #define __ASM_SH64_BUGS_H
  3. /*
  4. * This file is subject to the terms and conditions of the GNU General Public
  5. * License. See the file "COPYING" in the main directory of this archive
  6. * for more details.
  7. *
  8. * include/asm-sh64/bugs.h
  9. *
  10. * Copyright (C) 2000, 2001 Paolo Alberelli
  11. * Copyright (C) 2003 Paul Mundt
  12. *
  13. */
  14. /*
  15. * This is included by init/main.c to check for architecture-dependent bugs.
  16. *
  17. * Needs:
  18. * void check_bugs(void);
  19. */
  20. /*
  21. * I don't know of any Super-H bugs yet.
  22. */
  23. #include <asm/processor.h>
  24. static void __init check_bugs(void)
  25. {
  26. extern char *get_cpu_subtype(void);
  27. extern unsigned long loops_per_jiffy;
  28. cpu_data->loops_per_jiffy = loops_per_jiffy;
  29. printk("CPU: %s\n", get_cpu_subtype());
  30. }
  31. #endif /* __ASM_SH64_BUGS_H */