projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
s390/kdump: Do not add standby memory for kdump
[firefly-linux-kernel-4.4.55.git]
/
drivers
/
s390
/
char
/
sclp_cmd.c
diff --git
a/drivers/s390/char/sclp_cmd.c
b/drivers/s390/char/sclp_cmd.c
index 30a2255389e55303934d2e454fbd01fcfe947b2e..cd798386b622173172906cc021306d9cc64941bf 100644
(file)
--- a/
drivers/s390/char/sclp_cmd.c
+++ b/
drivers/s390/char/sclp_cmd.c
@@
-627,6
+627,8
@@
static int __init sclp_detect_standby_memory(void)
struct read_storage_sccb *sccb;
int i, id, assigned, rc;
+ if (OLDMEM_BASE) /* No standby memory in kdump mode */
+ return 0;
if (!early_read_info_sccb_valid)
return 0;
if ((sclp_facilities & 0xe00000000000ULL) != 0xe00000000000ULL)