Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 151165
b: refs/heads/master
c: a209450
h: refs/heads/master
i:
  151163: bd7f01f
v: v3
  • Loading branch information
David S. Miller committed Jun 16, 2009
1 parent 8f9a7db commit cebf9ed
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 890db403d59fbeaf273ed019d0b1862223d80a9a
refs/heads/master: a2094502dce23e9ace04d49702aa7a4d5996df55
2 changes: 1 addition & 1 deletion trunk/arch/sparc/include/asm/mdesc.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/sparc/kernel/ds.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
6 changes: 3 additions & 3 deletions trunk/arch/sparc/kernel/mdesc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/sparc/mm/init_64.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit cebf9ed

Please sign in to comment.