summaryrefslogtreecommitdiff
path: root/kexec/arch/s390/kexec-s390.c
diff options
context:
space:
mode:
Diffstat (limited to 'kexec/arch/s390/kexec-s390.c')
-rw-r--r--kexec/arch/s390/kexec-s390.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kexec/arch/s390/kexec-s390.c b/kexec/arch/s390/kexec-s390.c
index e303db9..94a5d9e 100644
--- a/kexec/arch/s390/kexec-s390.c
+++ b/kexec/arch/s390/kexec-s390.c
@@ -40,7 +40,7 @@ static struct memory_range memory_range[MAX_MEMORY_RANGES];
int get_memory_ranges(struct memory_range **range, int *ranges, unsigned long flags)
{
char sys_ram[] = "System RAM\n";
- char *iomem = proc_iomem(flags & KEXEC_ON_CRASH);
+ char *iomem = proc_iomem();
FILE *fp;
char line[80];
int current_range = 0;