]> git.karo-electronics.de Git - karo-tx-linux.git/commit
s390: remove virt_to_phys implementation
authorSebastian Ott <sebott@linux.vnet.ibm.com>
Thu, 23 May 2013 09:55:07 +0000 (11:55 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Mon, 10 Jun 2013 14:06:12 +0000 (16:06 +0200)
commit42382a3bd6486d41cccade6ef427d446ff7cfaf5
treeff57ea374cb176e6a1fe2d1882e4c74439b76acd
parent9be7e1860ca5e4505e6619e685c50c9439e77489
s390: remove virt_to_phys implementation

virt_to_phys on s390 currently uses the LRA instruction to translate
virtual to physical addresses. This creates an unnecessary overhead
and caused trouble with dma debugging code (when called with an
address pointing to a already unmapped page).
Just get rid of s390's implementation and use the one from
asm-generic/io.h .

Note: with this change virt_to_phys will no longer work on vmalloc'ed
addresses.

Reviewed-by: Gerald Schaefer <gerald.schaefer@de.ibm.com>
Signed-off-by: Sebastian Ott <sebott@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/include/asm/io.h