diff options
| author | Mark Rutland <[email protected]> | 2018-11-15 22:41:58 +0000 |
|---|---|---|
| committer | Will Deacon <[email protected]> | 2018-11-30 13:29:04 +0000 |
| commit | ad697a1aecac19ec351063b5d8e6fc9d4bca7ee5 (patch) | |
| tree | e28084d194f86a5b54b12b93c4b9abe22c4c53e8 /tools/perf/scripts/python | |
| parent | dd6846d774693bfa27d7db4dae5ea67dfe373fa1 (diff) | |
linkage: add generic GLOBAL() macro
Declaring a global symbol in assembly is tedious, error-prone, and
painful to read. While ENTRY() exists, this is supposed to be used for
function entry points, and this affects alignment in a potentially
undesireable manner.
Instead, let's add a generic GLOBAL() macro for this, as x86 added
locally in commit:
95695547a7db44b8 ("x86: asm linkage - introduce GLOBAL macro")
... thus allowing us to use this more freely in the kernel.
Signed-off-by: Mark Rutland <[email protected]>
Cc: AKASHI Takahiro <[email protected]>
Cc: Ard Biesheuvel <[email protected]>
Cc: Catalin Marinas <[email protected]>
Cc: Torsten Duwe <[email protected]>
Cc: Will Deacon <[email protected]>
Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions