summaryrefslogtreecommitdiff
path: root/kexec/arch/ia64/kexec-iomem.c
diff options
context:
space:
mode:
Diffstat (limited to 'kexec/arch/ia64/kexec-iomem.c')
-rw-r--r--kexec/arch/ia64/kexec-iomem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kexec/arch/ia64/kexec-iomem.c b/kexec/arch/ia64/kexec-iomem.c
index 97f7730..7696113 100644
--- a/kexec/arch/ia64/kexec-iomem.c
+++ b/kexec/arch/ia64/kexec-iomem.c
@@ -17,7 +17,7 @@ static const char proc_iomem_machine_str[]= "/proc/iomem_machine";
*/
const char *proc_iomem(int machine)
{
- if (machine && xen_present())
+ if (xen_present())
return proc_iomem_machine_str;
return proc_iomem_str;
}