Linux 5.19-rc6
Linus Torvalds
torvalds at linux-foundation.org
Thu Jul 14 17:37:30 UTC 2022
On Thu, Jul 14, 2022 at 10:24 AM Guenter Roeck <linux at roeck-us.net> wrote:
>
> We can't use virt_to_phys() and phys_to_virt() because they are defined for
> the underlying architecture. Would uml_to_phys() and uml_to_virt() be
> acceptable ? If so, I'll submit a patch.
Sure, that would be good, and make th uml helpers clearly be in the
uml namespace.
Another more traditional approach is to use underscored versions, but
exactly because that's the normal thing, things like that may then
clash with the "native architecture" version, so for uml using an
explicit uml namespace might be the better option.
Linus
More information about the amd-gfx
mailing list