]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Minimal change to build linuxkpi on architectures with physical addresses larger
authorJustin Hibbits <jhibbits@FreeBSD.org>
Fri, 26 Jan 2018 00:56:09 +0000 (00:56 +0000)
committerJustin Hibbits <jhibbits@FreeBSD.org>
Fri, 26 Jan 2018 00:56:09 +0000 (00:56 +0000)
commit51bd6f96189b825492d8732a50840de12fd0903a
tree0c2d5030ce9d9e8d3ff604956ca65123ca412f4b
parentea3c5e5d0440c7b551c4584cba51d28eec3d227f
Minimal change to build linuxkpi on architectures with physical addresses larger
than virtual

Summary:
Some architectures have physical/bus addresses that are much larger
than virtual addresses.  This change just quiets a warning, as DMAP is not used
on those architectures, and on 64-bit platforms uintptr_t is the same size as
vm_paddr_t and void *.

Reviewed By: hselasky
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D14043
sys/compat/linuxkpi/common/src/linux_page.c