Page flags setup needs to be done after debuginfo initialization. We
use hard coded values only when debugging information doesn't provide
corresponding values.

Signed-off-by: HATAYAMA Daisuke <[email protected]>
---

 makedumpfile.c |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/makedumpfile.c b/makedumpfile.c
index 1183330..6513059 100644
--- a/makedumpfile.c
+++ b/makedumpfile.c
@@ -2723,8 +2723,6 @@ initial(void)
                debug_info = TRUE;
        }
 
-       if (!get_value_for_old_linux())
-               return FALSE;
 out:
        if (!info->page_size) {
                /*
@@ -2789,6 +2787,9 @@ out:
        if (is_xen_memory() && !get_dom0_mapnr())
                return FALSE;
 
+       if (!get_value_for_old_linux())
+               return FALSE;
+
        return TRUE;
 }
 


_______________________________________________
kexec mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/kexec

Reply via email to