Commit 617f55c0 authored by Pete Zaitcev's avatar Pete Zaitcev Committed by David S. Miller

[SPARC64]: Cleanup serial_console declarations.

parent c4848112
...@@ -11,6 +11,7 @@ ...@@ -11,6 +11,7 @@
#include <linux/signal.h> #include <linux/signal.h>
#include <linux/delay.h> #include <linux/delay.h>
#include <asm/system.h>
#include <asm/ebus.h> #include <asm/ebus.h>
#define __KERNEL_SYSCALLS__ #define __KERNEL_SYSCALLS__
...@@ -37,8 +38,6 @@ extern void machine_halt(void); ...@@ -37,8 +38,6 @@ extern void machine_halt(void);
extern void machine_alt_power_off(void); extern void machine_alt_power_off(void);
static void (*poweroff_method)(void) = machine_alt_power_off; static void (*poweroff_method)(void) = machine_alt_power_off;
extern int serial_console;
void machine_power_off(void) void machine_power_off(void)
{ {
if (!serial_console) { if (!serial_console) {
......
...@@ -110,7 +110,6 @@ int cpu_idle(void) ...@@ -110,7 +110,6 @@ int cpu_idle(void)
extern char reboot_command []; extern char reboot_command [];
extern void (*prom_palette)(int); extern void (*prom_palette)(int);
extern int serial_console;
extern void (*prom_keyboard)(void); extern void (*prom_keyboard)(void);
void machine_halt(void) void machine_halt(void)
......
...@@ -484,7 +484,6 @@ extern void paging_init(void); ...@@ -484,7 +484,6 @@ extern void paging_init(void);
void __init setup_arch(char **cmdline_p) void __init setup_arch(char **cmdline_p)
{ {
extern int serial_console; /* in console.c, of course */
unsigned long highest_paddr; unsigned long highest_paddr;
int i; int i;
......
...@@ -14,6 +14,7 @@ ...@@ -14,6 +14,7 @@
#include <linux/delay.h> #include <linux/delay.h>
#include <asm/openprom.h> #include <asm/openprom.h>
#include <asm/oplib.h> #include <asm/oplib.h>
#include <asm/system.h>
/* Reset and reboot the machine with the command 'bcommand'. */ /* Reset and reboot the machine with the command 'bcommand'. */
void prom_reboot(char *bcommand) void prom_reboot(char *bcommand)
...@@ -33,7 +34,6 @@ void prom_feval(char *fstring) ...@@ -33,7 +34,6 @@ void prom_feval(char *fstring)
/* We want to do this more nicely some day. */ /* We want to do this more nicely some day. */
extern void (*prom_palette)(int); extern void (*prom_palette)(int);
extern int serial_console;
#ifdef CONFIG_SMP #ifdef CONFIG_SMP
extern void smp_capture(void); extern void smp_capture(void);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment