Skip to content
Commit 976e8f67 authored by Jeremy Fitzhardinge's avatar Jeremy Fitzhardinge
Browse files

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: default avatarJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
parent 26c8e317
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment