OSDN Git Service

memremap: provide stubs for vmem_altmap_offset and vmem_altmap_free
authorChristoph Hellwig <hch@lst.de>
Fri, 29 Dec 2017 07:53:50 +0000 (08:53 +0100)
committerDan Williams <dan.j.williams@intel.com>
Mon, 8 Jan 2018 19:43:03 +0000 (11:43 -0800)
commit8e37d00a850160bbfadbb3bf4ce49539770c5d2c
tree8eae54cbe4129e69d2c91a954624258ea1748a7d
parent30a7acd573899fd8b8ac39236eff6468b195ac7d
memremap: provide stubs for vmem_altmap_offset and vmem_altmap_free

Currently all calls to those functions are eliminated by the compiler when
CONFIG_ZONE_DEVICE is not set, but this soon won't be the case.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
include/linux/memremap.h