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
16extern 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 */
22extern unsigned char boot_cpu_id;
23extern unsigned char boot_cpu_id4;
24
25extern unsigned long empty_bad_page;
26extern unsigned long empty_bad_page_table;
27extern unsigned long empty_zero_page;
28
29extern int serial_console;
30static inline int con_is_present(void)
31{
32	return serial_console ? 0 : 1;
33}
34#endif
35
36extern void sun_do_break(void);
37extern int stop_a_enabled;
38extern int scons_pwroff;
39
40#endif /* __KERNEL__ */
41
42#endif /* _SPARC_SETUP_H */
43