diff options
| author | 2021-04-16 17:30:32 +0100 | |
|---|---|---|
| committer | 2021-04-23 14:19:10 +0100 | |
| commit | 8d144746ecc5fe5d64f3f1599db2192bd5c795ff (patch) | |
| tree | 68ba94abea9383127a301fc4a49eca76d0ad7ee0 /virt/git:/ssh:/git@git.zx2c4.com | |
| parent | arm64: Force SPARSEMEM_VMEMMAP as the only memory management model (diff) | |
| download | linux-dev-8d144746ecc5fe5d64f3f1599db2192bd5c795ff.tar.xz linux-dev-8d144746ecc5fe5d64f3f1599db2192bd5c795ff.zip | |
arm64: alternative: simplify passing alt_region
In __apply_alternatives() we take a pointer to void which we later
assign to a pointer to struct alt_region. As all callers are passing a
pointer to struct alt_region to begin with, it's simpler and more robust
to take a pointer to struct alt region, so let's do so and avoid the
need for a temporary variable.
Signed-off-by: Mark Rutland <mark.rutland@arm.com>
Cc: Will Deacon <will@kernel.org>
Acked-by: Will Deacon <will@kernel.org>
Link: https://lore.kernel.org/r/20210416163032.10857-1-mark.rutland@arm.com
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'virt/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
