summaryrefslogtreecommitdiff
path: root/kexec/crashdump-xen.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/crashdump-xen.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/crashdump-xen.c')
-rw-r--r--kexec/crashdump-xen.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/kexec/crashdump-xen.c b/kexec/crashdump-xen.c
index 1fdaf05..a66c21e 100644
--- a/kexec/crashdump-xen.c
+++ b/kexec/crashdump-xen.c
@@ -93,7 +93,7 @@ int xen_get_nr_phys_cpus(void)
if (xen_phys_cpus)
return xen_phys_cpus;
- if ((cpus = kexec_iomem_for_each_line(match, 1, NULL, NULL))) {
+ if ((cpus = kexec_iomem_for_each_line(match, NULL, NULL))) {
n = sizeof(struct crash_note_info) * cpus;
xen_phys_notes = malloc(n);
if (!xen_phys_notes) {
@@ -101,7 +101,7 @@ int xen_get_nr_phys_cpus(void)
return -1;
}
memset(xen_phys_notes, 0, n);
- kexec_iomem_for_each_line(match, 1,
+ kexec_iomem_for_each_line(match,
xen_crash_note_callback, NULL);
xen_phys_cpus = cpus;
}