s390/zcore: simplify memcpy_hsa
authorMartin Schwidefsky <schwidefsky@de.ibm.com>
Mon, 12 Oct 2015 08:51:54 +0000 (10:51 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Fri, 27 Nov 2015 08:24:13 +0000 (09:24 +0100)
commit019d6bec6d2842729c477f433b2330e9f52c0f1a
treef45beeb6d67b680441ab3e5c575d7d4fe08340f8
parentdf9694c7975ff9976368eb381388c61f65352aef
s390/zcore: simplify memcpy_hsa

Replace the three part copy logic int memcpy_hsa with a single loop
around sclp_sdias_copy with appropriate offset and size calculations,
and inline memcpy_hsa into memcpy_hsa_user and memcpy_hsa_kernel.

Acked-by: Michael Holzheu <holzheu@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
drivers/s390/char/zcore.c
This page took 0.027408 seconds and 5 git commands to generate.