Displaying 1 result from an estimated 1 matches for "backup_src_size".
2013 Feb 21
0
[PATCH 1/4] purgatory: put variables altered by kexec in .data not .bss
...h>
+
/* Backup region start gets set after /proc/iomem has been parsed. */
/* We reuse the same code for x86_64 also so changing backup_start to
unsigned long */
-unsigned long backup_start = 0;
+unsigned long backup_start __data = 0;
-unsigned long backup_src_start = 0;
-unsigned long backup_src_size = 0;
+unsigned long backup_src_start __data = 0;
+unsigned long backup_src_size __data = 0;
/* Backup first 640K of memory to backup region as reserved by kexec.
* Assuming first 640K has to be present on i386 machines and no address
diff --git a/purgatory/arch/x86_64/purgatory-x86_64.c b/purg...