iommu/vt-d: Expose struct svm_dev_ops without CONFIG_INTEL_IOMMU_SVM
authorDavid Woodhouse <David.Woodhouse@intel.com>
Mon, 26 Oct 2015 23:36:08 +0000 (08:36 +0900)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Mon, 26 Oct 2015 23:36:08 +0000 (08:36 +0900)
commitda4689c0263ee5f4eee64e166a6bee6a68b9242e
treed2f78e72750e10d88b3a51218c13d7ff78170c4b
parentd42fde70849c5ba2f00c37a0666305eb507a47b8
iommu/vt-d: Expose struct svm_dev_ops without CONFIG_INTEL_IOMMU_SVM

The point in providing an inline version of intel_svm_bind_mm() which
just returns -ENOSYS is that people are supposed to be able to *use* it
and just see that it fails. So we need to let them have a definition of
struct svm_dev_ops (and the flags) too.

Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
include/linux/intel-svm.h