summaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/ina3221.c
diff options
context:
space:
mode:
authorAndrew Scull <ascull@google.com>2021-01-25 15:54:14 +0100
committerMarc Zyngier <maz@kernel.org>2021-01-25 17:16:16 +0100
commit87b26801f02ca9d7a110eb598dae8cd5d3bcace2 (patch)
treec881f8e393cc3f46fd51be403875328b2d9c8197 /drivers/hwmon/ina3221.c
parentLinux 5.11-rc4 (diff)
downloadlinux-87b26801f02ca9d7a110eb598dae8cd5d3bcace2.tar.xz
linux-87b26801f02ca9d7a110eb598dae8cd5d3bcace2.zip
KVM: arm64: Simplify __kvm_hyp_init HVC detection
The arguments for __do_hyp_init are now passed with a pointer to a struct which means there are scratch registers available for use. Thanks to this, we no longer need to use clever, but hard to read, tricks that avoid the need for scratch registers when checking for the __kvm_hyp_init HVC. Tested-by: David Brazdil <dbrazdil@google.com> Signed-off-by: Andrew Scull <ascull@google.com> Signed-off-by: Marc Zyngier <maz@kernel.org> Link: https://lore.kernel.org/r/20210125145415.122439-2-ascull@google.com
Diffstat (limited to 'drivers/hwmon/ina3221.c')
0 files changed, 0 insertions, 0 deletions