diff options
author | Suzuki K. Poulose <suzuki.poulose@arm.com> | 2015-01-21 13:43:10 +0100 |
---|---|---|
committer | Catalin Marinas <catalin.marinas@arm.com> | 2015-01-23 18:11:30 +0100 |
commit | 736d474f0fafd1486f178570bc47660ee9dfdef8 (patch) | |
tree | 5d2980222088d482e73ec8047cbca23d7695ec85 /kernel/sysctl_binary.c | |
parent | arm64: Track system support for mixed endian EL0 (diff) | |
download | linux-736d474f0fafd1486f178570bc47660ee9dfdef8.tar.xz linux-736d474f0fafd1486f178570bc47660ee9dfdef8.zip |
arm64: Consolidate hotplug notifier for instruction emulation
As of now each insn_emulation has a cpu hotplug notifier that
enables/disables the CPU feature bit for the functionality. This
patch re-arranges the code, such that there is only one notifier
that runs through the list of registered emulation hooks and runs
their corresponding set_hw_mode.
We do nothing when a CPU is dying as we will set the appropriate bits
as it comes back online based on the state of the hooks.
Signed-off-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Suzuki K. Poulose <suzuki.poulose@arm.com>
Cc: Will Deacon <will.deacon@arm.com>
Cc: Punit Agrawal <punit.agrawal@arm.com>
[catalin.marinas@arm.com: fix pr_warn compilation error]
[catalin.marinas@arm.com: remove unnecessary "insn" check]
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'kernel/sysctl_binary.c')
0 files changed, 0 insertions, 0 deletions