aboutsummaryrefslogtreecommitdiffstats
path: root/arch/s390/kernel
diff options
context:
space:
mode:
authorMichael Holzheu <holzheu@de.ibm.com>2006-12-04 09:40:13 -0500
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2006-12-04 09:40:13 -0500
commit5986b0e845bc52a53ff3cafd74d341e81c95658d (patch)
tree196ff27656340dffdd5b164c7548b40c56891158 /arch/s390/kernel
parent66a4263b991097397823b46377a43ae35541ec26 (diff)
[S390] Use diag instead of ccw reipl.
Since the diag 308 reipl method is superior to the ccw method, we should use it whenever it is possible. We can do that, if the user has not specified a new reipl ccw device and the system has been ipled from a ccw device. Signed-off-by: Michael Holzheu <holzheu@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390/kernel')
-rw-r--r--arch/s390/kernel/ipl.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/s390/kernel/ipl.c b/arch/s390/kernel/ipl.c
index 60ba1454bfe1..ec127826f221 100644
--- a/arch/s390/kernel/ipl.c
+++ b/arch/s390/kernel/ipl.c
@@ -664,6 +664,8 @@ void do_reipl(void)
664 switch (reipl_method) { 664 switch (reipl_method) {
665 case IPL_METHOD_CCW_CIO: 665 case IPL_METHOD_CCW_CIO:
666 devid.devno = reipl_block_ccw->ipl_info.ccw.devno; 666 devid.devno = reipl_block_ccw->ipl_info.ccw.devno;
667 if (ipl_get_type() == IPL_TYPE_CCW && devid.devno == ipl_devno)
668 diag308(DIAG308_IPL, NULL);
667 devid.ssid = 0; 669 devid.ssid = 0;
668 reipl_ccw_dev(&devid); 670 reipl_ccw_dev(&devid);
669 break; 671 break;