|
@@ -225,6 +225,7 @@ out_unlock:
|
|
|
return ret;
|
|
return ret;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+#ifdef CONFIG_MMU
|
|
|
static int vmcoredd_mmap_dumps(struct vm_area_struct *vma, unsigned long dst,
|
|
static int vmcoredd_mmap_dumps(struct vm_area_struct *vma, unsigned long dst,
|
|
|
u64 start, size_t size)
|
|
u64 start, size_t size)
|
|
|
{
|
|
{
|
|
@@ -259,6 +260,7 @@ out_unlock:
|
|
|
mutex_unlock(&vmcoredd_mutex);
|
|
mutex_unlock(&vmcoredd_mutex);
|
|
|
return ret;
|
|
return ret;
|
|
|
}
|
|
}
|
|
|
|
|
+#endif /* CONFIG_MMU */
|
|
|
#endif /* CONFIG_PROC_VMCORE_DEVICE_DUMP */
|
|
#endif /* CONFIG_PROC_VMCORE_DEVICE_DUMP */
|
|
|
|
|
|
|
|
/* Read from the ELF header and then the crash dump. On error, negative value is
|
|
/* Read from the ELF header and then the crash dump. On error, negative value is
|