xfree86: Inline xf86{Read,Write}Mmio{8,16,32} on alpha

Graphics / X.Org / X.Org Server - Matt Turner [gmail.com] - 11 June 2018 21:05 EDT

In commit 9db2af6f757e (xfree86: Remove xf86{Map,Unmap}VidMem) we somehow stopped exporting xf86{Read,Write}Mmio{8,16,32}. Since the function pointer indirection was intended to support dense vs sparse and sparse support is now gone, we can just make the functions static inline in compiler.h and avoid all of this.

Bugzilla: https://bugs.gentoo.org/548906

166ac294a xfree86: Inline xf86{Read,Write}Mmio{8,16,32} on alpha
configure.ac | 4 --
hw/xfree86/common/compiler.h | 67 ++++++++++++++++++++++++---------
hw/xfree86/os-support/bsd/Makefile.am | 3 +-
hw/xfree86/os-support/linux/Makefile.am | 12 ------
hw/xfree86/os-support/linux/lnx_video.c | 27 -------------
hw/xfree86/os-support/meson.build | 1 -
6 files changed, 50 insertions(+), 64 deletions(-)

Upstream: cgit.freedesktop.org


  • Share