diff options
author | 2010-07-30 14:10:55 -0500 | |
---|---|---|
committer | 2010-08-01 09:18:41 +0200 | |
commit | c4026cfd8febcd63dd278894108839f30e525a0e (patch) | |
tree | 6eea79fdb39ef80d0eabbd0395d9dc1f93e1361a /tools/perf/util/trace-event-scripting.c | |
parent | x86, UV: Make kdump avoid stack dumps (diff) | |
download | linux-dev-c4026cfd8febcd63dd278894108839f30e525a0e.tar.xz linux-dev-c4026cfd8febcd63dd278894108839f30e525a0e.zip |
x86, UV: Initialize BAU hub map
Fix uninitialized uvhub_mask:
- An unitialized bit map variable was causing initialization of
non-existant hubs (this one causes boot panics).
- And the bit map was too small for large machines. This patch
makes it dynamic in size.
- Fix the case where socket 0 has no enabled cpu's. Don't assume
every hub has a socket 0.
- uv_init_per_cpu() should be __init.
Signed-off-by: Cliff Wickman <cpw@sgi.com>
Cc: <stable@kernel.org> # for .35.x
LKML-Reference: <E1Oeuyt-0004XS-0y@eag09.americas.sgi.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions