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
10d29ff9
Commit
10d29ff9
authored
Aug 31, 2008
by
David S. Miller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sparc64: Delete starfire_cpu_setup().
It does nothing. Signed-off-by:
David S. Miller
<
davem@davemloft.net
>
parent
d7472c38
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1 addition
and
10 deletions
+1
-10
arch/sparc/include/asm/starfire.h
arch/sparc/include/asm/starfire.h
+0
-1
arch/sparc64/kernel/central.c
arch/sparc64/kernel/central.c
+1
-4
arch/sparc64/kernel/starfire.c
arch/sparc64/kernel/starfire.c
+0
-5
No files found.
arch/sparc/include/asm/starfire.h
View file @
10d29ff9
...
@@ -12,7 +12,6 @@
...
@@ -12,7 +12,6 @@
extern
int
this_is_starfire
;
extern
int
this_is_starfire
;
extern
void
check_if_starfire
(
void
);
extern
void
check_if_starfire
(
void
);
extern
void
starfire_cpu_setup
(
void
);
extern
int
starfire_hard_smp_processor_id
(
void
);
extern
int
starfire_hard_smp_processor_id
(
void
);
extern
void
starfire_hookup
(
int
);
extern
void
starfire_hookup
(
int
);
extern
unsigned
int
starfire_translate
(
unsigned
long
imap
,
unsigned
int
upaid
);
extern
unsigned
int
starfire_translate
(
unsigned
long
imap
,
unsigned
int
upaid
);
...
...
arch/sparc64/kernel/central.c
View file @
10d29ff9
...
@@ -306,11 +306,8 @@ void __init central_probe(void)
...
@@ -306,11 +306,8 @@ void __init central_probe(void)
int
err
;
int
err
;
dp
=
of_find_node_by_name
(
NULL
,
"central"
);
dp
=
of_find_node_by_name
(
NULL
,
"central"
);
if
(
!
dp
)
{
if
(
!
dp
)
if
(
this_is_starfire
)
starfire_cpu_setup
();
return
;
return
;
}
/* Ok we got one, grab some memory for software state. */
/* Ok we got one, grab some memory for software state. */
central_bus
=
(
struct
linux_central
*
)
central_bus
=
(
struct
linux_central
*
)
...
...
arch/sparc64/kernel/starfire.c
View file @
10d29ff9
...
@@ -28,11 +28,6 @@ void check_if_starfire(void)
...
@@ -28,11 +28,6 @@ void check_if_starfire(void)
this_is_starfire
=
1
;
this_is_starfire
=
1
;
}
}
void
starfire_cpu_setup
(
void
)
{
/* Currently, nothing to do. */
}
int
starfire_hard_smp_processor_id
(
void
)
int
starfire_hard_smp_processor_id
(
void
)
{
{
return
upa_readl
(
0x1fff40000d0UL
);
return
upa_readl
(
0x1fff40000d0UL
);
...
...
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