diff options
Diffstat (limited to 'arch/s390/kernel')
-rw-r--r-- | arch/s390/kernel/ipl.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/s390/kernel/ipl.c b/arch/s390/kernel/ipl.c index 5663c1f8e46a..505fec06e634 100644 --- a/arch/s390/kernel/ipl.c +++ b/arch/s390/kernel/ipl.c | |||
@@ -24,6 +24,7 @@ | |||
24 | #include <asm/reset.h> | 24 | #include <asm/reset.h> |
25 | #include <asm/sclp.h> | 25 | #include <asm/sclp.h> |
26 | #include <asm/setup.h> | 26 | #include <asm/setup.h> |
27 | #include <asm/checksum.h> | ||
27 | 28 | ||
28 | #define IPL_PARM_BLOCK_VERSION 0 | 29 | #define IPL_PARM_BLOCK_VERSION 0 |
29 | 30 | ||
@@ -1359,7 +1360,8 @@ static void dump_reipl_run(struct shutdown_trigger *trigger) | |||
1359 | "a" (&lowcore_ptr[smp_processor_id()]->ipib)); | 1360 | "a" (&lowcore_ptr[smp_processor_id()]->ipib)); |
1360 | #endif | 1361 | #endif |
1361 | asm volatile("stura %0,%1" | 1362 | asm volatile("stura %0,%1" |
1362 | :: "a" (cksm(reipl_block_actual, reipl_block_actual->hdr.len)), | 1363 | :: "a" (csum_partial(reipl_block_actual, |
1364 | reipl_block_actual->hdr.len, 0)), | ||
1363 | "a" (&lowcore_ptr[smp_processor_id()]->ipib_checksum)); | 1365 | "a" (&lowcore_ptr[smp_processor_id()]->ipib_checksum)); |
1364 | preempt_enable(); | 1366 | preempt_enable(); |
1365 | dump_run(trigger); | 1367 | dump_run(trigger); |