diff options
author | Gavin Shan <shangw@linux.vnet.ibm.com> | 2012-08-20 03:49:19 +0000 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2012-09-17 16:35:15 +1000 |
commit | e47747f479502cf5dc1f8043fbc7513a4dc8fd9f (patch) | |
tree | 829249e99f9949851af58d21b9e8e1da17beed7d /fs/compat.c | |
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 <shangw@linux.vnet.ibm.com>
Reviewed-by: Ram Pai <linuxram@us.ibm.com>
Reviewed-by: Richard Yang <weiyang@linux.vnet.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'fs/compat.c')
0 files changed, 0 insertions, 0 deletions