]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: arm64: Get rid of reg_from/to_user()
authorMarc Zyngier <maz@kernel.org>
Mon, 4 Jul 2022 16:55:43 +0000 (17:55 +0100)
committerMarc Zyngier <maz@kernel.org>
Sun, 17 Jul 2022 10:55:33 +0000 (11:55 +0100)
commitf8277171e4abdf4ab4395a4fa502933c6c7472d0
tree1a3e739fe9bf9ca20bea95d2855d6d4f1c7a5755
parent5a3753f1a59bb282972e46ad43afc5134056e2bf
KVM: arm64: Get rid of reg_from/to_user()

These helpers are only used by the invariant stuff now, and while
they pretend to support non-64bit registers, this only serves as
a way to scare the casual reviewer...

Replace these helpers with our good friends get/put_user(), and
don't look back.

Reviewed-by: Reiji Watanabe <reijiw@google.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
arch/arm64/kvm/sys_regs.c