diff options
Diffstat (limited to 'include/linux/crash_dump.h')
-rw-r--r-- | include/linux/crash_dump.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/linux/crash_dump.h b/include/linux/crash_dump.h index 37e4f8da7cdf..fe68a5a98583 100644 --- a/include/linux/crash_dump.h +++ b/include/linux/crash_dump.h | |||
@@ -12,6 +12,15 @@ | |||
12 | extern unsigned long long elfcorehdr_addr; | 12 | extern unsigned long long elfcorehdr_addr; |
13 | extern unsigned long long elfcorehdr_size; | 13 | extern unsigned long long elfcorehdr_size; |
14 | 14 | ||
15 | extern int __weak elfcorehdr_alloc(unsigned long long *addr, | ||
16 | unsigned long long *size); | ||
17 | extern void __weak elfcorehdr_free(unsigned long long addr); | ||
18 | extern ssize_t __weak elfcorehdr_read(char *buf, size_t count, u64 *ppos); | ||
19 | extern ssize_t __weak elfcorehdr_read_notes(char *buf, size_t count, u64 *ppos); | ||
20 | extern int __weak remap_oldmem_pfn_range(struct vm_area_struct *vma, | ||
21 | unsigned long from, unsigned long pfn, | ||
22 | unsigned long size, pgprot_t prot); | ||
23 | |||
15 | extern ssize_t copy_oldmem_page(unsigned long, char *, size_t, | 24 | extern ssize_t copy_oldmem_page(unsigned long, char *, size_t, |
16 | unsigned long, int); | 25 | unsigned long, int); |
17 | 26 | ||