mirror of
https://github.com/RustyRaptor/riscv-linux.git
synced 2026-12-04 17:05:37 -07:00
In case we request a number of SMP blocks which is lower than the already reserved blocks, we should not try to allocate a negative number, but 0 blocks instead. Signed-off-by: Stephane Viau <sviau@codeaurora.org> Signed-off-by: Rob Clark <robdclark@gmail.com>