diff options
author | David Howells <dhowells@redhat.com> | 2012-03-28 13:30:03 -0400 |
---|---|---|
committer | David Howells <dhowells@redhat.com> | 2012-03-28 13:30:03 -0400 |
commit | d550bbd40c0e10aefa05103dadbe0ae42e683707 (patch) | |
tree | c1f32662f605f2b87c73901fbf66d12b2ca69b04 /arch/sparc/include/asm/setup.h | |
parent | e839ca528718e68cad32a307dc9aabf01ef3eb05 (diff) |
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
Diffstat (limited to 'arch/sparc/include/asm/setup.h')
-rw-r--r-- | arch/sparc/include/asm/setup.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/arch/sparc/include/asm/setup.h b/arch/sparc/include/asm/setup.h index 64718ba26434..00497abec996 100644 --- a/arch/sparc/include/asm/setup.h +++ b/arch/sparc/include/asm/setup.h | |||
@@ -13,14 +13,30 @@ | |||
13 | 13 | ||
14 | #ifdef __KERNEL__ | 14 | #ifdef __KERNEL__ |
15 | 15 | ||
16 | extern char reboot_command[]; | ||
17 | |||
16 | #ifdef CONFIG_SPARC32 | 18 | #ifdef CONFIG_SPARC32 |
17 | /* The CPU that was used for booting | 19 | /* The CPU that was used for booting |
18 | * Only sun4d + leon may have boot_cpu_id != 0 | 20 | * Only sun4d + leon may have boot_cpu_id != 0 |
19 | */ | 21 | */ |
20 | extern unsigned char boot_cpu_id; | 22 | extern unsigned char boot_cpu_id; |
21 | extern unsigned char boot_cpu_id4; | 23 | extern unsigned char boot_cpu_id4; |
24 | |||
25 | extern unsigned long empty_bad_page; | ||
26 | extern unsigned long empty_bad_page_table; | ||
27 | extern unsigned long empty_zero_page; | ||
28 | |||
29 | extern int serial_console; | ||
30 | static inline int con_is_present(void) | ||
31 | { | ||
32 | return serial_console ? 0 : 1; | ||
33 | } | ||
22 | #endif | 34 | #endif |
23 | 35 | ||
36 | extern void sun_do_break(void); | ||
37 | extern int stop_a_enabled; | ||
38 | extern int scons_pwroff; | ||
39 | |||
24 | #endif /* __KERNEL__ */ | 40 | #endif /* __KERNEL__ */ |
25 | 41 | ||
26 | #endif /* _SPARC_SETUP_H */ | 42 | #endif /* _SPARC_SETUP_H */ |