commit | 0a0d111d40fd1dc588cc590fab6b55d86ddc71d3 | [log] [tgz] |
---|---|---|
author | Will Deacon <will.deacon@arm.com> | Tue Jan 02 21:37:25 2018 +0000 |
committer | Catalin Marinas <catalin.marinas@arm.com> | Mon Jan 08 18:43:36 2018 +0000 |
tree | 9c02a5b5fcc48734c321965efecbab3f8b8e4dcb | |
parent | 179a56f6f9fbda28f6ca07db1fc3dfad6bc7343c [diff] |
arm64: cpufeature: Pass capability structure to ->enable callback In order to invoke the CPU capability ->matches callback from the ->enable callback for applying local-CPU workarounds, we need a handle on the capability structure. This patch passes a pointer to the capability structure to the ->enable callback. Reviewed-by: Suzuki K Poulose <suzuki.poulose@arm.com> Signed-off-by: Will Deacon <will.deacon@arm.com> Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>