summaryrefslogtreecommitdiff
path: root/arch/x86/kernel/uv_sysfs.c
diff options
context:
space:
mode:
authorCliff Wickman <cpw@sgi.com>2009-05-20 08:10:57 -0500
committerIngo Molnar <mingo@elte.hu>2009-06-03 13:07:31 +0200
commit0e2595cdfd7df9f1128f7185152601ae5417483b (patch)
treec8c8e88e34fb73178bb96259dbedc90472e4d285 /arch/x86/kernel/uv_sysfs.c
parentd9244b5d2fbfe9fa540024b410047af13ceec90f (diff)
x86: Fix UV BAU activation descriptor init
The UV tlb shootdown code has a serious initialization error. An array of structures [32*8] is initialized as if it were [32]. The array is indexed by (cpu number on the blade)*8, so the short initialization works for up to 4 cpus on a blade. But above that, we provide an invalid opcode to the hub's broadcast assist unit. This patch changes the allocation of the array to use its symbolic dimensions for better clarity. And initializes all 32*8 entries. Shortened 'UV_ACTIVATION_DESCRIPTOR_SIZE' to 'UV_ADP_SIZE' per Ingo's recommendation. Tested on the UV simulator. Signed-off-by: Cliff Wickman <cpw@sgi.com> Cc: <stable@kernel.org> LKML-Reference: <E1M6lZR-0007kV-Aq@eag09.americas.sgi.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/kernel/uv_sysfs.c')
0 files changed, 0 insertions, 0 deletions