microblaze: Prevent the overflow of the start

[ Upstream commit 061d2c1d59 ]

In case the start + cache size is more than the max int the
start overflows.
Prevent the same.

Signed-off-by: Shubhrajyoti Datta <shubhrajyoti.datta@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
Shubhrajyoti Datta 2020-01-11 18:44:34 +05:30 • committed by Greg Kroah-Hartman
commit d302f3a53d