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
b0b0e13e
Commit
b0b0e13e
authored
May 18, 2006
by
Ralf Baechle
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[MIPS] Remove unused instances of prom_build_cpu_map.
Signed-off-by:
Ralf Baechle
<
ralf@linux-mips.org
>
parent
c583122c
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
40 deletions
+0
-40
arch/mips/mips-boards/malta/malta_smp.c
arch/mips/mips-boards/malta/malta_smp.c
+0
-19
arch/mips/mips-boards/sim/sim_smp.c
arch/mips/mips-boards/sim/sim_smp.c
+0
-21
No files found.
arch/mips/mips-boards/malta/malta_smp.c
View file @
b0b0e13e
...
@@ -33,25 +33,6 @@ void core_send_ipi(int cpu, unsigned int action)
...
@@ -33,25 +33,6 @@ void core_send_ipi(int cpu, unsigned int action)
#endif
/* CONFIG_MIPS_MT_SMTC */
#endif
/* CONFIG_MIPS_MT_SMTC */
}
}
/*
* Detect available CPUs/VPEs/TCs and populate phys_cpu_present_map
*/
void
__init
prom_build_cpu_map
(
void
)
{
int
nextslot
;
/*
* As of November, 2004, MIPSsim only simulates one core
* at a time. However, that core may be a MIPS MT core
* with multiple virtual processors and thread contexts.
*/
if
(
read_c0_config3
()
&
(
1
<<
2
))
{
nextslot
=
mipsmt_build_cpu_map
(
1
);
}
}
/*
/*
* Platform "CPU" startup hook
* Platform "CPU" startup hook
*/
*/
...
...
arch/mips/mips-boards/sim/sim_smp.c
View file @
b0b0e13e
...
@@ -50,27 +50,6 @@ void core_send_ipi(int cpu, unsigned int action)
...
@@ -50,27 +50,6 @@ void core_send_ipi(int cpu, unsigned int action)
}
}
/*
* Detect available CPUs/VPEs/TCs and populate phys_cpu_present_map
*/
void
__init
prom_build_cpu_map
(
void
)
{
#ifdef CONFIG_MIPS_MT_SMTC
int
nextslot
;
/*
* As of November, 2004, MIPSsim only simulates one core
* at a time. However, that core may be a MIPS MT core
* with multiple virtual processors and thread contexts.
*/
if
(
read_c0_config3
()
&
(
1
<<
2
))
{
nextslot
=
mipsmt_build_cpu_map
(
1
);
}
#endif
/* CONFIG_MIPS_MT_SMTC */
}
/*
/*
* Platform "CPU" startup hook
* Platform "CPU" startup hook
*/
*/
...
...
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