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
a2094502
Commit
a2094502
authored
Apr 01, 2009
by
David S. Miller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sparc64: Make mdesc_fill_in_cpu_data take a cpumask_t pointer.
Signed-off-by:
David S. Miller
<
davem@davemloft.net
>
parent
890db403
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
6 deletions
+6
-6
arch/sparc/include/asm/mdesc.h
arch/sparc/include/asm/mdesc.h
+1
-1
arch/sparc/kernel/ds.c
arch/sparc/kernel/ds.c
+1
-1
arch/sparc/kernel/mdesc.c
arch/sparc/kernel/mdesc.c
+3
-3
arch/sparc/mm/init_64.c
arch/sparc/mm/init_64.c
+1
-1
No files found.
arch/sparc/include/asm/mdesc.h
View file @
a2094502
...
...
@@ -71,7 +71,7 @@ struct mdesc_notifier_client {
extern
void
mdesc_register_notifier
(
struct
mdesc_notifier_client
*
client
);
extern
void
mdesc_fill_in_cpu_data
(
cpumask_t
mask
);
extern
void
mdesc_fill_in_cpu_data
(
cpumask_t
*
mask
);
extern
void
mdesc_populate_present_mask
(
cpumask_t
*
mask
);
extern
void
sun4v_mdesc_init
(
void
);
...
...
arch/sparc/kernel/ds.c
View file @
a2094502
...
...
@@ -544,7 +544,7 @@ static int __cpuinit dr_cpu_configure(struct ds_info *dp,
resp_len
,
ncpus
,
mask
,
DR_CPU_STAT_CONFIGURED
);
mdesc_fill_in_cpu_data
(
*
mask
);
mdesc_fill_in_cpu_data
(
mask
);
for_each_cpu_mask
(
cpu
,
*
mask
)
{
int
err
;
...
...
arch/sparc/kernel/mdesc.c
View file @
a2094502
...
...
@@ -857,12 +857,12 @@ static void * __cpuinit fill_in_one_cpu(struct mdesc_handle *hp, u64 mp, int cpu
return
NULL
;
}
void
__cpuinit
mdesc_fill_in_cpu_data
(
cpumask_t
mask
)
void
__cpuinit
mdesc_fill_in_cpu_data
(
cpumask_t
*
mask
)
{
struct
mdesc_handle
*
hp
;
mdesc_populate_present_mask
(
&
mask
);
mdesc_iterate_over_cpus
(
fill_in_one_cpu
,
NULL
,
&
mask
);
mdesc_populate_present_mask
(
mask
);
mdesc_iterate_over_cpus
(
fill_in_one_cpu
,
NULL
,
mask
);
#ifdef CONFIG_SMP
sparc64_multi_core
=
1
;
...
...
arch/sparc/mm/init_64.c
View file @
a2094502
...
...
@@ -1810,7 +1810,7 @@ void __init paging_init(void)
if
(
tlb_type
==
hypervisor
)
{
sun4v_mdesc_init
();
mdesc_fill_in_cpu_data
(
CPU_MASK_ALL
);
mdesc_fill_in_cpu_data
(
CPU_MASK_ALL
_PTR
);
}
/* Once the OF device tree and MDESC have been setup, we know
...
...
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