diff options
author | Michael Holzheu | 2013-09-11 23:24:54 +0200 |
---|---|---|
committer | Linus Torvalds | 2013-09-12 00:59:15 +0200 |
commit | 6f79d33228fa7cf900826738a39f287cae96cd91 (patch) | |
tree | 219851a19eb86c91c77241cb00b3889719fdab23 /arch/s390/include | |
parent | vmcore: enable /proc/vmcore mmap for s390 (diff) | |
download | kernel-qcow2-linux-6f79d33228fa7cf900826738a39f287cae96cd91.tar.gz kernel-qcow2-linux-6f79d33228fa7cf900826738a39f287cae96cd91.tar.xz kernel-qcow2-linux-6f79d33228fa7cf900826738a39f287cae96cd91.zip |
s390/vmcore: use vmcore for zfcpdump
Modify the s390 copy_oldmem_page() and remap_oldmem_pfn_range() function
for zfcpdump to read from the HSA memory if memory below HSA_SIZE bytes is
requested. Otherwise real memory is used.
Signed-off-by: Michael Holzheu <holzheu@linux.vnet.ibm.com>
Cc: HATAYAMA Daisuke <d.hatayama@jp.fujitsu.com>
Cc: Jan Willeke <willeke@de.ibm.com>
Cc: Vivek Goyal <vgoyal@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/s390/include')
-rw-r--r-- | arch/s390/include/asm/sclp.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/s390/include/asm/sclp.h b/arch/s390/include/asm/sclp.h index 06a136136047..7dc7f9c63b65 100644 --- a/arch/s390/include/asm/sclp.h +++ b/arch/s390/include/asm/sclp.h @@ -56,5 +56,6 @@ bool sclp_has_linemode(void); bool sclp_has_vt220(void); int sclp_pci_configure(u32 fid); int sclp_pci_deconfigure(u32 fid); +int memcpy_hsa(void *dest, unsigned long src, size_t count, int mode); #endif /* _ASM_S390_SCLP_H */ |