mirror of
https://github.com/X11Libre/xserver.git
synced 2026-04-13 08:01:23 +00:00
DEV_MEM define isn't used by any drivers, and BSD seems to be the only platform using /dev/pmem instead of /dev/mem - as well as the DEV_MEM define from xf86_OSlib.h (Linux uses the symbol, but defines on its own) Therefore, just define it where actually used and drop it from the global xf86OSlib.h file. Note that /dev/pmem refers to physical memory, not to be mixed up with Linux's persistent memory subsys, which uses /dev/pmem[N] device nodes. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>