Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 257281
b: refs/heads/master
c: bbd270e
h: refs/heads/master
i:
  257279: 0a5d2c5
v: v3
  • Loading branch information
cpw@sgi.com authored and Ingo Molnar committed Jun 21, 2011
1 parent ac6eb2d commit fc53c7f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 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: 442d3924926c62741912d8a930220af253922007
refs/heads/master: bbd270e6f45a5ca30e1d3b6133c516a9dc9dd6c0
9 changes: 7 additions & 2 deletions trunk/arch/x86/platform/uv/tlb_uv.c
Original file line number Diff line number Diff line change
Expand Up @@ -1797,15 +1797,20 @@ static int __init init_per_cpu(int nuvhubs, int base_part_pnode)
uvhub_mask = kzalloc((nuvhubs+7)/8, GFP_KERNEL);

if (get_cpu_topology(base_part_pnode, uvhub_descs, uvhub_mask))
return 1;
goto fail;

if (summarize_uvhub_sockets(nuvhubs, uvhub_descs, uvhub_mask))
return 1;
goto fail;

kfree(uvhub_descs);
kfree(uvhub_mask);
init_per_cpu_tunables();
return 0;

fail:
kfree(uvhub_descs);
kfree(uvhub_mask);
return 1;
}

/*
Expand Down

0 comments on commit fc53c7f

Please sign in to comment.