xref: /linux/arch/sparc/include/asm/setup.h (revision 9e9fd65d1fa51d919d54d731be0e66492b5b6c5a)
1 /*
2  *	Just a place holder.
3  */
4 
5 #ifndef _SPARC_SETUP_H
6 #define _SPARC_SETUP_H
7 
8 #if defined(__sparc__) && defined(__arch64__)
9 # define COMMAND_LINE_SIZE 2048
10 #else
11 # define COMMAND_LINE_SIZE 256
12 #endif
13 
14 #ifdef __KERNEL__
15 
16 extern char reboot_command[];
17 
18 #ifdef CONFIG_SPARC32
19 /* The CPU that was used for booting
20  * Only sun4d + leon may have boot_cpu_id != 0
21  */
22 extern unsigned char boot_cpu_id;
23 
24 extern unsigned long empty_zero_page;
25 
26 extern int serial_console;
27 static inline int con_is_present(void)
28 {
29 	return serial_console ? 0 : 1;
30 }
31 #endif
32 
33 extern void sun_do_break(void);
34 extern int stop_a_enabled;
35 extern int scons_pwroff;
36 
37 #endif /* __KERNEL__ */
38 
39 #endif /* _SPARC_SETUP_H */
40