commit | 7f7c68335483b8ec066af0b0d628955e99d2cbe4 | [log] [tgz] |
---|---|---|
author | Mark Rutland <mark.rutland@arm.com> | Thu Apr 05 15:58:31 2018 +0100 |
committer | Mark Rutland <mark.rutland@arm.com> | Fri Apr 06 16:20:06 2018 +0100 |
tree | c419c26f32da135edb574737de5321a08818f4f8 | |
parent | 27b0928d4ff252d44cb7b8e71c0b34ec483fd60f [diff] |
ARM64: KVM: use lm_alias() for kvm_ksym_ref() For historical reasons, we open-code lm_alias() in kvm_ksym_ref(). Let's use lm_alias() to avoid duplication and make things clearer. As we have to pull this from <linux/mm.h> (which is not safe for includion in assembly), we may as well move the kvm_ksym_ref() definition into the existing !__ASSEMBLY__ block. Signed-off-by: Mark Rutland <mark.rutland@arm.com> Cc: Marc Zyngier <marc.zyngier@arm.com>