Skip to content

Commit

Permalink
s390/ipl: Fix ipib handling for "dumpreipl" shutdown action
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Michael Holzheu authored and Martin Schwidefsky committed Jun 27, 2012
1 parent fbe7656 commit a7df7a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/s390/kernel/ipl.c
Original file line number Diff line number Diff line change
Expand Up @@ -1528,7 +1528,7 @@ static struct shutdown_action __refdata dump_action = {

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;

csum = csum_partial(reipl_block_actual, reipl_block_actual->hdr.len, 0);
Expand Down

0 comments on commit a7df7a9

Please sign in to comment.