Commit c2c529b
arm64: remove __dma_*_area() aliases
The __dma_inv_area() and __dma_clean_area() aliases make cache.S harder
to navigate, but don't gain us anything in practice.
For clarity, let's remove them along with their redundant comments. The
only users are __dma_map_area() and __dma_unmap_area(), which need to be
position independent, and can call __pi_dcache_inval_poc() and
__pi_dcache_clean_poc() directly.
There should be no functional change as a result of this patch.
Signed-off-by: Mark Rutland <mark.rutland@arm.com>
Cc: Ard Biesheuvel <ardb@kernel.org>
Cc: Fuad Tabba <tabba@google.com>
Cc: Marc Zyngier <maz@kernel.org>
Cc: Will Deacon <will@kernel.org>
Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Acked-by: Mark Brown <broonie@kernel.org>
Acked-by: Ard Biesheuvel <ardb@kernel.org>
Link: https://lore.kernel.org/r/20211206124715.4101571-4-mark.rutland@arm.com
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>1 parent f2cefc0 commit c2c529b
1 file changed
Lines changed: 3 additions & 21 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
140 | 140 | | |
141 | 141 | | |
142 | 142 | | |
143 | | - | |
144 | 143 | | |
145 | | - | |
146 | | - | |
147 | | - | |
148 | | - | |
149 | | - | |
150 | | - | |
151 | | - | |
152 | 144 | | |
153 | 145 | | |
154 | 146 | | |
| |||
167 | 159 | | |
168 | 160 | | |
169 | 161 | | |
170 | | - | |
171 | 162 | | |
172 | 163 | | |
173 | 164 | | |
| |||
178 | 169 | | |
179 | 170 | | |
180 | 171 | | |
181 | | - | |
182 | 172 | | |
183 | | - | |
184 | | - | |
185 | | - | |
186 | | - | |
187 | | - | |
188 | | - | |
189 | | - | |
190 | 173 | | |
191 | 174 | | |
192 | 175 | | |
193 | | - | |
194 | 176 | | |
195 | 177 | | |
196 | 178 | | |
| |||
232 | 214 | | |
233 | 215 | | |
234 | 216 | | |
235 | | - | |
236 | | - | |
| 217 | + | |
| 218 | + | |
237 | 219 | | |
238 | 220 | | |
239 | 221 | | |
| |||
245 | 227 | | |
246 | 228 | | |
247 | 229 | | |
248 | | - | |
| 230 | + | |
249 | 231 | | |
250 | 232 | | |
0 commit comments