diff options
| author | Ard Biesheuvel <[email protected]> | 2019-12-24 16:10:23 +0100 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2019-12-25 10:49:25 +0100 |
| commit | 966291f6344d7eb6fc3204381a426bafa20a3d18 (patch) | |
| tree | 729490f6dcf7b55de9b8fb7b39fafaec6e198807 /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | 99ea8b1db2d23ac856bf3ee0673628df088a21ea (diff) | |
efi/libstub: Rename efi_call_early/_runtime macros to be more intuitive
The macros efi_call_early and efi_call_runtime are used to call EFI
boot services and runtime services, respectively. However, the naming
is confusing, given that the early vs runtime distinction may suggest
that these are used for calling the same set of services either early
or late (== at runtime), while in reality, the sets of services they
can be used with are completely disjoint, and efi_call_runtime is also
only usable in 'early' code.
So do a global sweep to replace all occurrences with efi_bs_call or
efi_rt_call, respectively, where BS and RT match the idiom used by
the UEFI spec to refer to boot time or runtime services.
While at it, use 'func' as the macro parameter name for the function
pointers, which is less likely to collide and cause weird build errors.
Signed-off-by: Ard Biesheuvel <[email protected]>
Cc: Arvind Sankar <[email protected]>
Cc: Borislav Petkov <[email protected]>
Cc: James Morse <[email protected]>
Cc: Matt Fleming <[email protected]>
Cc: Thomas Gleixner <[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/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions