s390/ipl: Fix ipib handling for "dumpreipl" shutdown action
authorMichael Holzheu <holzheu@linux.vnet.ibm.com>
Wed, 27 Jun 2012 12:43:31 +0000 (14:43 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Wed, 27 Jun 2012 17:21:32 +0000 (19:21 +0200)
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>
arch/s390/kernel/ipl.c

index 25241cd..c903aa1 100644 (file)
@@ -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);