blob: 5e35e051731887c3e284b2b7e92c254365ac36be [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001/*
2 * Just a place holder.
3 */
Linus Torvalds1da177e2005-04-16 15:20:36 -07004#ifndef _SPARC_SETUP_H
5#define _SPARC_SETUP_H
6
David Howells54579822012-10-09 09:47:43 +01007#include <uapi/asm/setup.h>
Linus Torvalds1da177e2005-04-16 15:20:36 -07008
Daniel Hellstrom5fcafb72011-04-21 04:20:23 +00009
David Howellsd550bbd2012-03-28 18:30:03 +010010extern char reboot_command[];
11
Daniel Hellstrom5fcafb72011-04-21 04:20:23 +000012#ifdef CONFIG_SPARC32
13/* The CPU that was used for booting
14 * Only sun4d + leon may have boot_cpu_id != 0
15 */
16extern unsigned char boot_cpu_id;
David Howellsd550bbd2012-03-28 18:30:03 +010017
David Howellsd550bbd2012-03-28 18:30:03 +010018extern unsigned long empty_zero_page;
19
20extern int serial_console;
21static inline int con_is_present(void)
22{
23 return serial_console ? 0 : 1;
24}
Daniel Hellstrom5fcafb72011-04-21 04:20:23 +000025#endif
26
David Howellsd550bbd2012-03-28 18:30:03 +010027extern void sun_do_break(void);
28extern int stop_a_enabled;
29extern int scons_pwroff;
30
Linus Torvalds1da177e2005-04-16 15:20:36 -070031#endif /* _SPARC_SETUP_H */