diff options
Diffstat (limited to 'kernel/kexec.c')
| -rw-r--r-- | kernel/kexec.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/kernel/kexec.c b/kernel/kexec.c index 06a0e2775651..1c5fcacbcf33 100644 --- a/kernel/kexec.c +++ b/kernel/kexec.c | |||
| @@ -29,7 +29,6 @@ | |||
| 29 | #include <asm/uaccess.h> | 29 | #include <asm/uaccess.h> |
| 30 | #include <asm/io.h> | 30 | #include <asm/io.h> |
| 31 | #include <asm/system.h> | 31 | #include <asm/system.h> |
| 32 | #include <asm/semaphore.h> | ||
| 33 | #include <asm/sections.h> | 32 | #include <asm/sections.h> |
| 34 | 33 | ||
| 35 | /* Per cpu memory for storing cpu states in case of system crash. */ | 34 | /* Per cpu memory for storing cpu states in case of system crash. */ |
| @@ -1218,7 +1217,7 @@ static int __init parse_crashkernel_mem(char *cmdline, | |||
| 1218 | } | 1217 | } |
| 1219 | 1218 | ||
| 1220 | /* match ? */ | 1219 | /* match ? */ |
| 1221 | if (system_ram >= start && system_ram <= end) { | 1220 | if (system_ram >= start && system_ram < end) { |
| 1222 | *crash_size = size; | 1221 | *crash_size = size; |
| 1223 | break; | 1222 | break; |
| 1224 | } | 1223 | } |
| @@ -1406,6 +1405,9 @@ static int __init crash_save_vmcoreinfo_init(void) | |||
| 1406 | VMCOREINFO_LENGTH(zone.free_area, MAX_ORDER); | 1405 | VMCOREINFO_LENGTH(zone.free_area, MAX_ORDER); |
| 1407 | VMCOREINFO_LENGTH(free_area.free_list, MIGRATE_TYPES); | 1406 | VMCOREINFO_LENGTH(free_area.free_list, MIGRATE_TYPES); |
| 1408 | VMCOREINFO_NUMBER(NR_FREE_PAGES); | 1407 | VMCOREINFO_NUMBER(NR_FREE_PAGES); |
| 1408 | VMCOREINFO_NUMBER(PG_lru); | ||
| 1409 | VMCOREINFO_NUMBER(PG_private); | ||
| 1410 | VMCOREINFO_NUMBER(PG_swapcache); | ||
| 1409 | 1411 | ||
| 1410 | arch_crash_save_vmcoreinfo(); | 1412 | arch_crash_save_vmcoreinfo(); |
| 1411 | 1413 | ||
