summaryrefslogtreecommitdiff
path: root/kexec/arch/i386/kexec-x86.c
diff options
context:
space:
mode:
authorSimon Horman <horms@verge.net.au>2008-03-04 12:13:33 +0900
committerSimon Horman <horms@verge.net.au>2008-03-04 12:13:33 +0900
commit91ce7876a6ec7e51532f3a2a949bd8d284f5aaad (patch)
tree6de63d3b2aa28d110889b83cca02a6793b05ce38 /kexec/arch/i386/kexec-x86.c
parent3f8791a7ed926363a882213886299cb65a4738d4 (diff)
kexec-tools: no machine machine to proc_iomem()
Removes the machine parameter to proc_iomem() which is no longer of any use. Signed-off-by: Simon Horman <horms@verge.net.au>
Diffstat (limited to 'kexec/arch/i386/kexec-x86.c')
-rw-r--r--kexec/arch/i386/kexec-x86.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kexec/arch/i386/kexec-x86.c b/kexec/arch/i386/kexec-x86.c
index c82b8ba..4a41fed 100644
--- a/kexec/arch/i386/kexec-x86.c
+++ b/kexec/arch/i386/kexec-x86.c
@@ -39,7 +39,7 @@ static struct memory_range memory_range[MAX_MEMORY_RANGES];
int get_memory_ranges(struct memory_range **range, int *ranges,
unsigned long kexec_flags)
{
- const char *iomem= proc_iomem(kexec_flags & KEXEC_ON_CRASH);
+ const char *iomem= proc_iomem();
int memory_ranges = 0;
char line[MAX_LINE];
FILE *fp;