diff options
author | Gavin Shan <[email protected]> | 2012-08-20 03:49:19 +0000 |
---|---|---|
committer | Benjamin Herrenschmidt <[email protected]> | 2012-09-17 16:35:15 +1000 |
commit | e47747f479502cf5dc1f8043fbc7513a4dc8fd9f (patch) | |
tree | 829249e99f9949851af58d21b9e8e1da17beed7d /lib/mpi/mpi-inline.h | |
parent | db1266c852611436daa01a89c272722ec39cf916 (diff) |
powerpc/powernv: Fix overrunning segment tracing array
There're 2 arrays introduced to trace which PE has occupied the
corresponding resource (I/O or MMIO) segment. However, we didn't
allocate enough memory for them and that possiblly leads to PE
descriptor corruption.
The patch fixes that by allocating enough memory for those 2 arrays.
Signed-off-by: Gavin Shan <[email protected]>
Reviewed-by: Ram Pai <[email protected]>
Reviewed-by: Richard Yang <[email protected]>
Signed-off-by: Benjamin Herrenschmidt <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-inline.h')
0 files changed, 0 insertions, 0 deletions