]> git.baikalelectronics.ru Git - kernel.git/commit
x86: asm/io.h: unify virt_to_phys/phys_to_virt
authorJeremy Fitzhardinge <jeremy@goop.org>
Fri, 6 Feb 2009 21:29:44 +0000 (13:29 -0800)
committerJeremy Fitzhardinge <jeremy@goop.org>
Fri, 6 Feb 2009 21:29:44 +0000 (13:29 -0800)
commit76e7897f410c22e1be6a8a42cc5126190aeb74b4
treeaddb2267fe1267f506117dac15e0bc1843bf72fe
parent7547152fbedd550ea273d8a2895f820e524771df
x86: asm/io.h: unify virt_to_phys/phys_to_virt

Impact: unify identical code

asm/io_32.h and _64.h has functionally identical definitions for
virt_to_phys, phys_to_virt, page_to_phys, and the isa_* variants, so
just unify them.

The only slightly functional change is using phys_addr_t for the
physical address argument and return val.

Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
arch/x86/include/asm/io.h
arch/x86/include/asm/io_32.h
arch/x86/include/asm/io_64.h