powerpc/fadump: Add a warning when 'fadump_reserve_mem=' is used
authorHari Bathini <hbathini@linux.vnet.ibm.com>
Mon, 22 May 2017 09:34:23 +0000 (15:04 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Fri, 2 Jun 2017 10:16:35 +0000 (20:16 +1000)
commit81d9eca502fcc360950ef476124626d97856e139
tree9f429c75a4630a0fd939c312bf3e64fcb432342a
parent98b8cd7f75643e0a442d7a4c1cef2c9d53b7e92b
powerpc/fadump: Add a warning when 'fadump_reserve_mem=' is used

With commit 11550dc0a00b ("powerpc/fadump: reuse crashkernel parameter
for fadump memory reservation"), 'fadump_reserve_mem=' parameter is
deprecated in favor of 'crashkernel=' parameter. Add a warning if
'fadump_reserve_mem=' is still used.

Fixes: 11550dc0a00b ("powerpc/fadump: reuse crashkernel parameter for fadump memory reservation")
Suggested-by: Prarit Bhargava <prarit@redhat.com>
Signed-off-by: Hari Bathini <hbathini@linux.vnet.ibm.com>
[mpe: Unsplit long printk strings]
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/kernel/fadump.c