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
nexedi
linux
Commits
ad07aed8
Commit
ad07aed8
authored
Dec 05, 2008
by
David S. Miller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sparc: Move of_console_{device,path,options} info prom_common.c
Signed-off-by:
David S. Miller
<
davem@davemloft.net
>
parent
23dc758e
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
18 deletions
+9
-18
arch/sparc/kernel/prom_32.c
arch/sparc/kernel/prom_32.c
+0
-9
arch/sparc/kernel/prom_64.c
arch/sparc/kernel/prom_64.c
+0
-9
arch/sparc/kernel/prom_common.c
arch/sparc/kernel/prom_common.c
+9
-0
No files found.
arch/sparc/kernel/prom_32.c
View file @
ad07aed8
...
...
@@ -166,15 +166,6 @@ char * __init build_path_component(struct device_node *dp)
return
n
;
}
struct
device_node
*
of_console_device
;
EXPORT_SYMBOL
(
of_console_device
);
char
*
of_console_path
;
EXPORT_SYMBOL
(
of_console_path
);
char
*
of_console_options
;
EXPORT_SYMBOL
(
of_console_options
);
extern
void
restore_current
(
void
);
void
__init
of_console_init
(
void
)
...
...
arch/sparc/kernel/prom_64.c
View file @
ad07aed8
...
...
@@ -526,15 +526,6 @@ void __init of_fill_in_cpu_data(void)
smp_fill_in_sib_core_maps
();
}
struct
device_node
*
of_console_device
;
EXPORT_SYMBOL
(
of_console_device
);
char
*
of_console_path
;
EXPORT_SYMBOL
(
of_console_path
);
char
*
of_console_options
;
EXPORT_SYMBOL
(
of_console_options
);
void
__init
of_console_init
(
void
)
{
char
*
msg
=
"OF stdout device is: %s
\n
"
;
...
...
arch/sparc/kernel/prom_common.c
View file @
ad07aed8
...
...
@@ -25,6 +25,15 @@
#include "prom.h"
struct
device_node
*
of_console_device
;
EXPORT_SYMBOL
(
of_console_device
);
char
*
of_console_path
;
EXPORT_SYMBOL
(
of_console_path
);
char
*
of_console_options
;
EXPORT_SYMBOL
(
of_console_options
);
struct
device_node
*
of_find_node_by_phandle
(
phandle
handle
)
{
struct
device_node
*
np
;
...
...
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