]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Define PHYS_TO_DMAP() and DMAP_TO_PHYS() as panics on the architectures
authornwhitehorn <nwhitehorn@FreeBSD.org>
Fri, 19 Jan 2018 22:17:13 +0000 (22:17 +0000)
committernwhitehorn <nwhitehorn@FreeBSD.org>
Fri, 19 Jan 2018 22:17:13 +0000 (22:17 +0000)
commit49a1f464122f4f2a83a3e4640a7d98681d507fcc
tree63b71ae3466d69b05a86ff6c607919e60e655c6d
parentb4c82b3b07aa5cc45c693e250bd98ff2a991e45f
Define PHYS_TO_DMAP() and DMAP_TO_PHYS() as panics on the architectures
(i386 and arm) that never implement them. This allows the removal of
#ifdef PHYS_TO_DMAP on code otherwise protected by a runtime check on
PMAP_HAS_DMAP. It also fixes the build on ARM and i386 after I forgot an
#ifdef in r328168.

Reported by: Milan Obuch
Pointy hat to: me
sys/arm/include/vmparam.h
sys/compat/linuxkpi/common/src/linux_page.c
sys/i386/include/vmparam.h
sys/sys/sf_buf.h