Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
617f55c0
Commit
617f55c0
authored
Sep 05, 2002
by
Pete Zaitcev
Committed by
David S. Miller
Sep 05, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[SPARC64]: Cleanup serial_console declarations.
parent
c4848112
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
2 additions
and
5 deletions
+2
-5
arch/sparc64/kernel/power.c
arch/sparc64/kernel/power.c
+1
-2
arch/sparc64/kernel/process.c
arch/sparc64/kernel/process.c
+0
-1
arch/sparc64/kernel/setup.c
arch/sparc64/kernel/setup.c
+0
-1
arch/sparc64/prom/misc.c
arch/sparc64/prom/misc.c
+1
-1
No files found.
arch/sparc64/kernel/power.c
View file @
617f55c0
...
@@ -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
)
{
...
...
arch/sparc64/kernel/process.c
View file @
617f55c0
...
@@ -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
)
...
...
arch/sparc64/kernel/setup.c
View file @
617f55c0
...
@@ -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
;
...
...
arch/sparc64/prom/misc.c
View file @
617f55c0
...
@@ -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
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment