diff options
Diffstat (limited to 'arch/sparc/kernel/setup.c')
-rw-r--r-- | arch/sparc/kernel/setup.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/arch/sparc/kernel/setup.c b/arch/sparc/kernel/setup.c index 0251cab4708b..383526ad94fc 100644 --- a/arch/sparc/kernel/setup.c +++ b/arch/sparc/kernel/setup.c | |||
@@ -103,7 +103,6 @@ void prom_sync_me(void) | |||
103 | 103 | ||
104 | unsigned int boot_flags __initdata = 0; | 104 | unsigned int boot_flags __initdata = 0; |
105 | #define BOOTME_DEBUG 0x1 | 105 | #define BOOTME_DEBUG 0x1 |
106 | #define BOOTME_SINGLE 0x2 | ||
107 | 106 | ||
108 | /* Exported for mm/init.c:paging_init. */ | 107 | /* Exported for mm/init.c:paging_init. */ |
109 | unsigned long cmdline_memory_size __initdata = 0; | 108 | unsigned long cmdline_memory_size __initdata = 0; |
@@ -121,16 +120,6 @@ static struct console prom_debug_console = { | |||
121 | .index = -1, | 120 | .index = -1, |
122 | }; | 121 | }; |
123 | 122 | ||
124 | int obp_system_intr(void) | ||
125 | { | ||
126 | if (boot_flags & BOOTME_DEBUG) { | ||
127 | printk("OBP: system interrupted\n"); | ||
128 | prom_halt(); | ||
129 | return 1; | ||
130 | } | ||
131 | return 0; | ||
132 | } | ||
133 | |||
134 | /* | 123 | /* |
135 | * Process kernel command line switches that are specific to the | 124 | * Process kernel command line switches that are specific to the |
136 | * SPARC or that require special low-level processing. | 125 | * SPARC or that require special low-level processing. |
@@ -142,7 +131,6 @@ static void __init process_switch(char c) | |||
142 | boot_flags |= BOOTME_DEBUG; | 131 | boot_flags |= BOOTME_DEBUG; |
143 | break; | 132 | break; |
144 | case 's': | 133 | case 's': |
145 | boot_flags |= BOOTME_SINGLE; | ||
146 | break; | 134 | break; |
147 | case 'h': | 135 | case 'h': |
148 | prom_printf("boot_flags_init: Halt!\n"); | 136 | prom_printf("boot_flags_init: Halt!\n"); |