aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/swiotlb.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/swiotlb.c b/lib/swiotlb.c
index e6755a0574fb..795472d8ae24 100644
--- a/lib/swiotlb.c
+++ b/lib/swiotlb.c
@@ -109,10 +109,9 @@ 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; 114
115 }
116 return 1; 115 return 1;
117} 116}
118__setup("swiotlb=", setup_io_tlb_npages); 117__setup("swiotlb=", setup_io_tlb_npages);