setup.h 547 B

12345678910111213141516171819202122232425262728293031
  1. /*
  2. * Just a place holder.
  3. */
  4. #ifndef _SPARC_SETUP_H
  5. #define _SPARC_SETUP_H
  6. #include <uapi/asm/setup.h>
  7. extern char reboot_command[];
  8. #ifdef CONFIG_SPARC32
  9. /* The CPU that was used for booting
  10. * Only sun4d + leon may have boot_cpu_id != 0
  11. */
  12. extern unsigned char boot_cpu_id;
  13. extern unsigned long empty_zero_page;
  14. extern int serial_console;
  15. static inline int con_is_present(void)
  16. {
  17. return serial_console ? 0 : 1;
  18. }
  19. #endif
  20. extern void sun_do_break(void);
  21. extern int stop_a_enabled;
  22. extern int scons_pwroff;
  23. #endif /* _SPARC_SETUP_H */