diff options
author | Mark Rutland <mark.rutland@arm.com> | 2018-07-11 16:56:39 +0300 |
---|---|---|
committer | Will Deacon <will.deacon@arm.com> | 2018-07-12 16:40:39 +0300 |
commit | 8d370933faecec098acb99fbf317cf9dfa9ee995 (patch) | |
tree | 9d37848f07dc24bd89d93d989a31b7b31f7ffaed /arch/arm64/kernel/signal32.c | |
parent | 25be597ada0b49d2748ab520a78a28c1764d69e4 (diff) | |
download | linux-8d370933faecec098acb99fbf317cf9dfa9ee995.tar.xz |
arm64: kill change_cpacr()
Now that we have sysreg_clear_set(), we can use this instead of
change_cpacr().
Note that the order of the set and clear arguments differs between
change_cpacr() and sysreg_clear_set(), so these are flipped as part of
the conversion. Also, sve_user_enable() redundantly clears
CPACR_EL1_ZEN_EL0EN before setting it; this is removed for clarity.
Signed-off-by: Mark Rutland <mark.rutland@arm.com>
Reviewed-by: Dave Martin <dave.martin@arm.com>
Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Cc: James Morse <james.morse@arm.com>
Cc: Will Deacon <will.deacon@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'arch/arm64/kernel/signal32.c')
0 files changed, 0 insertions, 0 deletions