From: Gavin Shan Date: Mon, 20 Aug 2012 03:49:19 +0000 (+0000) Subject: powerpc/powernv: Fix overrunning segment tracing array X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~10^2~23 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e47747f479502cf5dc1f8043fbc7513a4dc8fd9f;p=pandora-kernel.git 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 Reviewed-by: Ram Pai Reviewed-by: Richard Yang Signed-off-by: Benjamin Herrenschmidt --- Reading git-diff-tree failed