]> git.baikalelectronics.ru Git - kernel.git/commit
microblaze: Prevent the overflow of the start
authorShubhrajyoti Datta <shubhrajyoti.datta@xilinx.com>
Sat, 11 Jan 2020 13:14:34 +0000 (18:44 +0530)
committerMichal Simek <michal.simek@xilinx.com>
Tue, 4 Feb 2020 10:38:59 +0000 (11:38 +0100)
commitce9ac95c40c678092bf1d9114befed3e5f1a4b43
tree97bfdb637af4be57527b9f4318e9fcb0f7bb7958
parentc62e17e9cc1dd8dc9376660e0a86b0750d816d2b
microblaze: Prevent the overflow of the start

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>
arch/microblaze/kernel/cpu/cache.c