Browse Source

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>
Michael Holzheu 13 years ago
parent
commit
a7df7a9494
1 changed files with 1 additions and 1 deletions
  1. 1 1
      arch/s390/kernel/ipl.c

+ 1 - 1
arch/s390/kernel/ipl.c

@@ -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);