aboutsummaryrefslogtreecommitdiffstats
path: root/lib/swiotlb.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/swiotlb.c')
-rw-r--r--lib/swiotlb.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/swiotlb.c b/lib/swiotlb.c
index 0c12d7cce300..e6755a0574fb 100644
--- a/lib/swiotlb.c
+++ b/lib/swiotlb.c
@@ -109,8 +109,10 @@ setup_io_tlb_npages(char *str)
109 } 109 }
110 if (*str == ',') 110 if (*str == ',')
111 ++str; 111 ++str;
112 if (!strcmp(str, "force")) 112 if (!strcmp(str, "force")) {
113 swiotlb_force = 1; 113 swiotlb_force = 1;
114 swiotlb = 1;
115 }
114 return 1; 116 return 1;
115} 117}
116__setup("swiotlb=", setup_io_tlb_npages); 118__setup("swiotlb=", setup_io_tlb_npages);