at v3.6 39 lines 685 B view raw
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; 23 24extern unsigned long empty_zero_page; 25 26extern int serial_console; 27static inline int con_is_present(void) 28{ 29 return serial_console ? 0 : 1; 30} 31#endif 32 33extern void sun_do_break(void); 34extern int stop_a_enabled; 35extern int scons_pwroff; 36 37#endif /* __KERNEL__ */ 38 39#endif /* _SPARC_SETUP_H */