summaryrefslogtreecommitdiffstats
path: root/include/linux/intel-svm.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/intel-svm.h')
-rw-r--r--include/linux/intel-svm.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/intel-svm.h b/include/linux/intel-svm.h
index 0a48ccff24ae..3c25794042f9 100644
--- a/include/linux/intel-svm.h
+++ b/include/linux/intel-svm.h
@@ -16,8 +16,6 @@
16#ifndef __INTEL_SVM_H__ 16#ifndef __INTEL_SVM_H__
17#define __INTEL_SVM_H__ 17#define __INTEL_SVM_H__
18 18
19#ifdef CONFIG_INTEL_IOMMU_SVM
20
21struct device; 19struct device;
22 20
23struct svm_dev_ops { 21struct svm_dev_ops {
@@ -55,6 +53,8 @@ struct svm_dev_ops {
55 */ 53 */
56#define SVM_FLAG_SUPERVISOR_MODE (1<<1) 54#define SVM_FLAG_SUPERVISOR_MODE (1<<1)
57 55
56#ifdef CONFIG_INTEL_IOMMU_SVM
57
58/** 58/**
59 * intel_svm_bind_mm() - Bind the current process to a PASID 59 * intel_svm_bind_mm() - Bind the current process to a PASID
60 * @dev: Device to be granted acccess 60 * @dev: Device to be granted acccess