s390/ipl: Fix ipib handling for "dumpreipl" shutdown action

Fix problem that was introduced with patch "s390/smp: make absolute
lowcore / cpu restart parameter". After that patch the "dumpreipl"
shutdown action does not work any more. To fix the problem we have
to assign "reipl_block_actual" instead of "&reipl_block_actual"

Signed-off-by: Michael Holzheu <holzheu@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
This commit is contained in:
Michael Holzheu 2012-06-27 14:43:31 +02:00 коммит произвёл Martin Schwidefsky
Родитель fbe765680d
Коммит a7df7a9494
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -1528,7 +1528,7 @@ static struct shutdown_action __refdata dump_action = {
static void dump_reipl_run(struct shutdown_trigger *trigger) static void dump_reipl_run(struct shutdown_trigger *trigger)
{ {
unsigned long ipib = (unsigned long) &reipl_block_actual; unsigned long ipib = (unsigned long) reipl_block_actual;
unsigned int csum; unsigned int csum;
csum = csum_partial(reipl_block_actual, reipl_block_actual->hdr.len, 0); csum = csum_partial(reipl_block_actual, reipl_block_actual->hdr.len, 0);