diff options
author | Frank Munzert <munzert@de.ibm.com> | 2009-03-26 10:23:43 -0400 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2009-03-26 10:24:03 -0400 |
commit | 099b765139929efdcf232f8870804accf8c4cdc5 (patch) | |
tree | 9869bb629def6f49d5d3b82e8e0b301cabbc1b8c /arch/s390/kernel/setup.c | |
parent | d7fd5f1e3b195a8232b3ed768ac2809ddce8ca46 (diff) |
[S390] Automatic IPL after dump
Provide new shutdown action "dump_reipl" for automatic ipl after dump.
Signed-off-by: Frank Munzert <munzert@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Diffstat (limited to 'arch/s390/kernel/setup.c')
-rw-r--r-- | arch/s390/kernel/setup.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/s390/kernel/setup.c b/arch/s390/kernel/setup.c index c5cfb6185eac..8fdf08379ce9 100644 --- a/arch/s390/kernel/setup.c +++ b/arch/s390/kernel/setup.c | |||
@@ -86,6 +86,10 @@ volatile int __cpu_logical_map[NR_CPUS]; /* logical cpu to cpu address */ | |||
86 | int __initdata memory_end_set; | 86 | int __initdata memory_end_set; |
87 | unsigned long __initdata memory_end; | 87 | unsigned long __initdata memory_end; |
88 | 88 | ||
89 | /* An array with a pointer to the lowcore of every CPU. */ | ||
90 | struct _lowcore *lowcore_ptr[NR_CPUS]; | ||
91 | EXPORT_SYMBOL(lowcore_ptr); | ||
92 | |||
89 | /* | 93 | /* |
90 | * This is set up by the setup-routine at boot-time | 94 | * This is set up by the setup-routine at boot-time |
91 | * for S390 need to find out, what we have to setup | 95 | * for S390 need to find out, what we have to setup |
@@ -434,6 +438,7 @@ setup_lowcore(void) | |||
434 | lc->vdso_per_cpu_data = (unsigned long) &lc->paste[0]; | 438 | lc->vdso_per_cpu_data = (unsigned long) &lc->paste[0]; |
435 | #endif | 439 | #endif |
436 | set_prefix((u32)(unsigned long) lc); | 440 | set_prefix((u32)(unsigned long) lc); |
441 | lowcore_ptr[0] = lc; | ||
437 | } | 442 | } |
438 | 443 | ||
439 | static void __init | 444 | static void __init |