diff options
author | Uros Bizjak <[email protected]> | 2022-08-17 16:40:45 +0200 |
---|---|---|
committer | Paolo Bonzini <[email protected]> | 2022-09-26 12:02:35 -0400 |
commit | 57abfa11ba9b64d123289e261ddb05775f4fd3ac (patch) | |
tree | 4d704b8228e184db04c892953e47a31032280dcd /tools/perf/scripts/python/libxed.py | |
parent | e390f4d69da026149c8c80a7a2218e166d5643fc (diff) |
KVM: VMX: Do not declare vmread_error() asmlinkage
There is no need to declare vmread_error() asmlinkage, its arguments
can be passed via registers for both 32-bit and 64-bit targets.
Function argument registers are considered call-clobbered registers,
they are saved in the trampoline just before the function call and
restored afterwards.
Dropping "asmlinkage" patch unifies trampoline function argument handling
between 32-bit and 64-bit targets and improves generated code for 32-bit
targets.
Cc: Paolo Bonzini <[email protected]>
Cc: Sean Christopherson <[email protected]>
Signed-off-by: Uros Bizjak <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Sean Christopherson <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions