diff options
| author | Michael Brown | 2025-04-21 17:16:01 +0200 |
|---|---|---|
| committer | Michael Brown | 2025-04-21 17:17:19 +0200 |
| commit | 8c31270a21a85cc87bce0e07e19e2041d2510a4c (patch) | |
| tree | 66255f4f34f30650bf2dbda212e551104fbd9ef0 /src/interface/linux | |
| parent | [uaccess] Remove redundant user_to_virt() (diff) | |
| download | ipxe-8c31270a21a85cc87bce0e07e19e2041d2510a4c.tar.gz ipxe-8c31270a21a85cc87bce0e07e19e2041d2510a4c.tar.xz ipxe-8c31270a21a85cc87bce0e07e19e2041d2510a4c.zip | |
[uaccess] Remove user_to_phys() and phys_to_user()
Remove the intermediate concept of a user pointer from physical
address conversions, leaving virt_to_phys() and phys_to_virt() as the
directly implemented functions.
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/interface/linux')
| -rw-r--r-- | src/interface/linux/linux_uaccess.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/interface/linux/linux_uaccess.c b/src/interface/linux/linux_uaccess.c index e5c394365..4fdd8c03a 100644 --- a/src/interface/linux/linux_uaccess.c +++ b/src/interface/linux/linux_uaccess.c @@ -27,6 +27,7 @@ FILE_LICENCE(GPL2_OR_LATER); * */ -PROVIDE_UACCESS_INLINE(linux, user_to_phys); +PROVIDE_UACCESS_INLINE(linux, phys_to_virt); +PROVIDE_UACCESS_INLINE(linux, virt_to_phys); PROVIDE_UACCESS_INLINE(linux, virt_to_user); PROVIDE_UACCESS_INLINE(linux, memchr_user); |
