]> pilppa.com Git - linux-2.6-omap-h63xx.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)
commit976e8f677e42757e5586ea04a9ac8bb8ddaa037e
treeaddb2267fe1267f506117dac15e0bc1843bf72fe
parent26c8e3179933c5c9071b16db76ab6de58a787d06
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