22 lines
785 B
Diff
22 lines
785 B
Diff
--- kexec-tools-1.101/kexec/arch/x86_64/crashdump-x86_64.c.orig 2006-11-14 12:15:45.000000000 -0500
|
|
+++ kexec-tools-1.101/kexec/arch/x86_64/crashdump-x86_64.c 2006-11-14 12:16:04.000000000 -0500
|
|
@@ -113,6 +113,8 @@
|
|
* initializing acpi tables in second kernel.
|
|
*/
|
|
type = RANGE_ACPI;
|
|
+ } else if(memcmp(str,"ACPI Non-volatile Storage\n",26) == 0 ) {
|
|
+ type = RANGE_ACPI_NVS;
|
|
} else {
|
|
continue;
|
|
}
|
|
@@ -645,7 +647,8 @@
|
|
/* Inform second kernel about the presence of ACPI tables. */
|
|
for (i = 0; i < CRASH_MAX_MEMORY_RANGES; i++) {
|
|
unsigned long start, end;
|
|
- if (mem_range[i].type != RANGE_ACPI)
|
|
+ if ( !( mem_range[i].type == RANGE_ACPI
|
|
+ || mem_range[i].type == RANGE_ACPI_NVS) )
|
|
continue;
|
|
start = mem_range[i].start;
|
|
end = mem_range[i].end;
|