diff options
author | HATAYAMA Daisuke <d.hatayama@jp.fujitsu.com> | 2011-12-16 11:00:06 +0900 |
---|---|---|
committer | Atsushi Kumagai <kumagai-atsushi@mxc.nes.nec.co.jp> | 2012-01-05 11:44:29 +0900 |
commit | fc655b4614f964917ce5630c8f3c2a953dd10ce9 (patch) | |
tree | 1b971f1e7918b28232d4c83a2c1f1910cac60476 /sadump_info.h | |
parent | 13dd70a20630d071a27df5bd78c3382db056f1cd (diff) |
[PATCH v2 12/14] Read kexec backup region
Deal with the first 640kB memory backed up by kdump by interpreting
the read request to the region as the request to the backup region
that is specially prepared to preserve the original first kernel's
memory situtation.
The first 640kB memory contains the data necessary for paging: PTE,
for example. So, initialization must be done before trying to read
memory requiring paging to read such as VMALLOC'ed data.
Signed-off-by: HATAYAMA Daisuke <d.hatayama@jp.fujitsu.com>
Diffstat (limited to 'sadump_info.h')
-rw-r--r-- | sadump_info.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sadump_info.h b/sadump_info.h index f90ea5a..1f74ee5 100644 --- a/sadump_info.h +++ b/sadump_info.h @@ -54,6 +54,7 @@ long sadump_page_size(void); char *sadump_head_disk_name_memory(void); char *sadump_format_type_name(void); void free_sadump_info(void); +void sadump_kdump_backup_region_init(void); static inline int sadump_is_supported_arch(void) { @@ -154,6 +155,11 @@ static inline int sadump_is_supported_arch(void) return FALSE; } +static inline void sadump_kdump_backup_region_init(void) +{ + return; +} + #endif #endif /* _SADUMP_INFO_H */ |