diff options
| author | Ard Biesheuvel <[email protected]> | 2020-01-03 12:39:38 +0100 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2020-01-10 18:55:02 +0100 |
| commit | 89ed486532c4d155565cc4b7984a918ee3c58f80 (patch) | |
| tree | 81b8a218e18b6cab1276168e4384aef84649ee68 /tools/perf/scripts/python/syscall-counts.py | |
| parent | ffc2760bcf2dba0dbef74013ed73eea8310cc52c (diff) | |
efi/x86: Avoid redundant cast of EFI firmware service pointer
All EFI firmware call prototypes have been annotated as __efiapi,
permitting us to attach attributes regarding the calling convention
by overriding __efiapi to an architecture specific value.
On 32-bit x86, EFI firmware calls use the plain calling convention
where all arguments are passed via the stack, and cleaned up by the
caller. Let's add this to the __efiapi definition so we no longer
need to cast the function pointers before invoking them.
Signed-off-by: Ard Biesheuvel <[email protected]>
Cc: Andy Lutomirski <[email protected]>
Cc: Ard Biesheuvel <[email protected]>
Cc: Arvind Sankar <[email protected]>
Cc: Matthew Garrett <[email protected]>
Cc: [email protected]
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions