diff options
| author | Ard Biesheuvel <[email protected]> | 2019-12-24 16:10:15 +0100 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2019-12-25 10:49:21 +0100 |
| commit | 2fcdad2a80a6d6fd0f77205108232d1adc709a84 (patch) | |
| tree | 4d12a5ef34b8ad820b6d3da89a967087cf9eb843 /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | 14e900c7e4033d6ee3398b9f133e1716cc072401 (diff) | |
efi/libstub: Get rid of 'sys_table_arg' macro parameter
The efi_call macros on ARM have a dependency on a variable 'sys_table_arg'
existing in the scope of the macro instantiation. Since this variable
always points to the same data structure, let's create a global getter
for it and use that instead.
Note that the use of a global variable with external linkage is avoided,
given the problems we had in the past with early processing of the GOT
tables.
While at it, drop the redundant casts in the efi_table_attr and
efi_call_proto macros.
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