aboutsummaryrefslogtreecommitdiffstats
path: root/arch/s390/kernel/setup.c
diff options
context:
space:
mode:
authorFrank Munzert <munzert@de.ibm.com>2009-03-26 10:23:43 -0400
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2009-03-26 10:24:03 -0400
commit099b765139929efdcf232f8870804accf8c4cdc5 (patch)
tree9869bb629def6f49d5d3b82e8e0b301cabbc1b8c /arch/s390/kernel/setup.c
parentd7fd5f1e3b195a8232b3ed768ac2809ddce8ca46 (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.c5
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 */
86int __initdata memory_end_set; 86int __initdata memory_end_set;
87unsigned long __initdata memory_end; 87unsigned long __initdata memory_end;
88 88
89/* An array with a pointer to the lowcore of every CPU. */
90struct _lowcore *lowcore_ptr[NR_CPUS];
91EXPORT_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
439static void __init 444static void __init