diff options
author | Mark Rutland <mark.rutland@arm.com> | 2021-06-07 12:46:05 +0300 |
---|---|---|
committer | Will Deacon <will@kernel.org> | 2021-06-07 13:35:54 +0300 |
commit | 382dcdd66ce86491ddd390b39224468c82a47892 (patch) | |
tree | 94d2e294c376436f60107b5fbaa5689d04b9aa82 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | c4681547bcce777daf576925a966ffa824edd09d (diff) | |
download | linux-382dcdd66ce86491ddd390b39224468c82a47892.tar.xz |
arm64: remove redundant local_daif_mask() in bad_mode()
Upon taking an exception, the CPU sets all the DAIF bits. We never
clear any of these bits prior to calling bad_mode(), and bad_mode()
itself never clears any of these bits, so there's no need to call
local_daif_mask().
This patch removes the redundant call.
Signed-off-by: Mark Rutland <mark.rutland@arm.com>
Acked-by: Marc Zyngier <maz@kernel.org>
Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Reviewed-by: Joey Gouly <joey.gouly@arm.com>
Cc: James Morse <james.morse@arm.com>
Cc: Will Deacon <will@kernel.org>
Link: https://lore.kernel.org/r/20210607094624.34689-2-mark.rutland@arm.com
Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions