diff options
| author | Mark Rutland <[email protected]> | 2018-05-10 12:13:47 +0100 |
|---|---|---|
| committer | Marc Zyngier <[email protected]> | 2018-05-20 11:44:01 +0100 |
| commit | 46c4a30b0b1638c9b87dfea41436c5699e9fe24e (patch) | |
| tree | cfebeb90cee7d150494e7542b946dc5b691130b3 /scripts/patch-kernel | |
| parent | 75bc37fefc4471e718ba8e651aa74673d4e0a9eb (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
inclusion in assembly), we may as well move the kvm_ksym_ref()
definition into the existing !__ASSEMBLY__ block.
Signed-off-by: Mark Rutland <[email protected]>
Cc: Christoffer Dall <[email protected]>
Cc: Marc Zyngier <[email protected]>
Cc: [email protected]
Signed-off-by: Marc Zyngier <[email protected]>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions