Disintegrate asm/system.h for Sparc
Disintegrate asm/system.h for Sparc. Signed-off-by: David Howells <dhowells@redhat.com> cc: sparclinux@vger.kernel.org
This commit is contained in:
@@ -13,14 +13,30 @@
|
||||
|
||||
#ifdef __KERNEL__
|
||||
|
||||
extern char reboot_command[];
|
||||
|
||||
#ifdef CONFIG_SPARC32
|
||||
/* The CPU that was used for booting
|
||||
* Only sun4d + leon may have boot_cpu_id != 0
|
||||
*/
|
||||
extern unsigned char boot_cpu_id;
|
||||
extern unsigned char boot_cpu_id4;
|
||||
|
||||
extern unsigned long empty_bad_page;
|
||||
extern unsigned long empty_bad_page_table;
|
||||
extern unsigned long empty_zero_page;
|
||||
|
||||
extern int serial_console;
|
||||
static inline int con_is_present(void)
|
||||
{
|
||||
return serial_console ? 0 : 1;
|
||||
}
|
||||
#endif
|
||||
|
||||
extern void sun_do_break(void);
|
||||
extern int stop_a_enabled;
|
||||
extern int scons_pwroff;
|
||||
|
||||
#endif /* __KERNEL__ */
|
||||
|
||||
#endif /* _SPARC_SETUP_H */
|
||||
|
Reference in New Issue
Block a user