|
@@ -16,8 +16,6 @@
|
|
#ifndef __INTEL_SVM_H__
|
|
#ifndef __INTEL_SVM_H__
|
|
#define __INTEL_SVM_H__
|
|
#define __INTEL_SVM_H__
|
|
|
|
|
|
-#ifdef CONFIG_INTEL_IOMMU_SVM
|
|
|
|
-
|
|
|
|
struct device;
|
|
struct device;
|
|
|
|
|
|
struct svm_dev_ops {
|
|
struct svm_dev_ops {
|
|
@@ -55,6 +53,8 @@ struct svm_dev_ops {
|
|
*/
|
|
*/
|
|
#define SVM_FLAG_SUPERVISOR_MODE (1<<1)
|
|
#define SVM_FLAG_SUPERVISOR_MODE (1<<1)
|
|
|
|
|
|
|
|
+#ifdef CONFIG_INTEL_IOMMU_SVM
|
|
|
|
+
|
|
/**
|
|
/**
|
|
* intel_svm_bind_mm() - Bind the current process to a PASID
|
|
* intel_svm_bind_mm() - Bind the current process to a PASID
|
|
* @dev: Device to be granted acccess
|
|
* @dev: Device to be granted acccess
|