powerpc/fadump: improve how crashed kernel's memory is reserved
authorHari Bathini <hbathini@linux.ibm.com>
Wed, 11 Sep 2019 14:55:49 +0000 (20:25 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Fri, 13 Sep 2019 14:04:45 +0000 (00:04 +1000)
commitb2a815a554a34f0e6fab4526ae762d5528783600
tree353c23f8e36188c80f2c351a66cb343efa38e49e
parentdda9dbfeeb7a855a75965b8ba7269f4edb35cde7
powerpc/fadump: improve how crashed kernel's memory is reserved

The size parameter to fadump_reserve_crash_area() function is not needed
as all the memory above boot memory size must be preserved anyway. Update
the function by dropping this redundant parameter.

Signed-off-by: Hari Bathini <hbathini@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/156821374440.5656.2945512543806951766.stgit@hbathini.in.ibm.com
arch/powerpc/kernel/fadump.c