diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/swiotlb.c | 5 |
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); |