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
52c72abc
Commit
52c72abc
authored
Aug 18, 2003
by
David S. Miller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[SPARC64]: Kill prom_cpu_nodes, unused.
parent
2905d379
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
6 deletions
+0
-6
arch/sparc64/kernel/devices.c
arch/sparc64/kernel/devices.c
+0
-3
arch/sparc64/kernel/smp.c
arch/sparc64/kernel/smp.c
+0
-2
include/asm-sparc64/smp.h
include/asm-sparc64/smp.h
+0
-1
No files found.
arch/sparc64/kernel/devices.c
View file @
52c72abc
...
@@ -25,7 +25,6 @@
...
@@ -25,7 +25,6 @@
spinlock_t
ns87303_lock
=
SPIN_LOCK_UNLOCKED
;
spinlock_t
ns87303_lock
=
SPIN_LOCK_UNLOCKED
;
struct
prom_cpuinfo
linux_cpus
[
NR_CPUS
]
__initdata
=
{
{
0
}
};
struct
prom_cpuinfo
linux_cpus
[
NR_CPUS
]
__initdata
=
{
{
0
}
};
unsigned
prom_cpu_nodes
[
NR_CPUS
];
int
linux_num_cpus
=
0
;
int
linux_num_cpus
=
0
;
extern
void
cpu_probe
(
void
);
extern
void
cpu_probe
(
void
);
...
@@ -84,8 +83,6 @@ void __init device_scan(void)
...
@@ -84,8 +83,6 @@ void __init device_scan(void)
linux_num_cpus
=
cpu_ctr
;
linux_num_cpus
=
cpu_ctr
;
prom_cpu_nodes
[
0
]
=
prom_node_cpu
;
#ifndef CONFIG_SMP
#ifndef CONFIG_SMP
{
{
up_clock_tick
=
prom_getintdefault
(
prom_node_cpu
,
up_clock_tick
=
prom_getintdefault
(
prom_node_cpu
,
...
...
arch/sparc64/kernel/smp.c
View file @
52c72abc
...
@@ -337,7 +337,6 @@ static int __devinit smp_boot_one_cpu(unsigned int cpu)
...
@@ -337,7 +337,6 @@ static int __devinit smp_boot_one_cpu(unsigned int cpu)
udelay
(
100
);
udelay
(
100
);
}
}
if
(
callin_flag
)
{
if
(
callin_flag
)
{
prom_cpu_nodes
[
cpu
]
=
linux_cpus
[
no
].
prom_node
;
ret
=
0
;
ret
=
0
;
}
else
{
}
else
{
printk
(
"Processor %d is stuck.
\n
"
,
cpu
);
printk
(
"Processor %d is stuck.
\n
"
,
cpu
);
...
@@ -1138,7 +1137,6 @@ void __init smp_tick_init(void)
...
@@ -1138,7 +1137,6 @@ void __init smp_tick_init(void)
}
}
cpu_set
(
boot_cpu_id
,
cpu_online_map
);
cpu_set
(
boot_cpu_id
,
cpu_online_map
);
prom_cpu_nodes
[
boot_cpu_id
]
=
linux_cpus
[
0
].
prom_node
;
prof_counter
(
boot_cpu_id
)
=
prof_multiplier
(
boot_cpu_id
)
=
1
;
prof_counter
(
boot_cpu_id
)
=
prof_multiplier
(
boot_cpu_id
)
=
1
;
}
}
...
...
include/asm-sparc64/smp.h
View file @
52c72abc
...
@@ -28,7 +28,6 @@ struct prom_cpuinfo {
...
@@ -28,7 +28,6 @@ struct prom_cpuinfo {
extern
int
linux_num_cpus
;
/* number of CPUs probed */
extern
int
linux_num_cpus
;
/* number of CPUs probed */
extern
struct
prom_cpuinfo
linux_cpus
[
NR_CPUS
];
extern
struct
prom_cpuinfo
linux_cpus
[
NR_CPUS
];
extern
unsigned
int
prom_cpu_nodes
[
NR_CPUS
];
#endif
/* !(__ASSEMBLY__) */
#endif
/* !(__ASSEMBLY__) */
...
...
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