diff options
author | Michael Holzheu <holzheu@de.ibm.com> | 2007-10-12 16:11:42 +0200 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2007-10-12 16:13:08 +0200 |
commit | 6517156cd0225d666f53ecaf49b5b4784b0df8b6 (patch) | |
tree | 7575c4361c56f2c3abef8925494663460e8399ce /arch/s390 | |
parent | 210d3a90ce665509e4852977d7a3352654e5e990 (diff) | |
download | linux-stable-6517156cd0225d666f53ecaf49b5b4784b0df8b6.tar.gz linux-stable-6517156cd0225d666f53ecaf49b5b4784b0df8b6.tar.bz2 linux-stable-6517156cd0225d666f53ecaf49b5b4784b0df8b6.zip |
[S390] Use IPL CLEAR for reipl under z/VM
If we use the CLEAR ipl option, reipl is faster, since then VM can release
the memory, which has been paged out.
Signed-off-by: Michael Holzheu <holzheu@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390')
-rw-r--r-- | arch/s390/kernel/ipl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/s390/kernel/ipl.c b/arch/s390/kernel/ipl.c index 8b8f136d9cc7..66b51901c87d 100644 --- a/arch/s390/kernel/ipl.c +++ b/arch/s390/kernel/ipl.c @@ -735,10 +735,10 @@ void do_reipl(void) case REIPL_METHOD_CCW_VM: reipl_get_ascii_loadparm(loadparm); if (strlen(loadparm) == 0) - sprintf(buf, "IPL %X", + sprintf(buf, "IPL %X CLEAR", reipl_block_ccw->ipl_info.ccw.devno); else - sprintf(buf, "IPL %X LOADPARM '%s'", + sprintf(buf, "IPL %X CLEAR LOADPARM '%s'", reipl_block_ccw->ipl_info.ccw.devno, loadparm); __cpcmd(buf, NULL, 0, NULL); break; |