diff options
author | Ard Biesheuvel <[email protected]> | 2016-02-17 12:35:59 +0000 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2016-02-22 08:26:26 +0100 |
commit | 07e83dbb75865b016f6493c119a30aac7c25051a (patch) | |
tree | e9fadd1bc31f85bc65838f62881fe3e1de158b6d /tools/perf/scripts/python/syscall-counts-by-pid.py | |
parent | 1ce99bf45306ba889faadced6baabebf7770c546 (diff) |
efi/efistub: Prevent __init annotations from being used
__init annotations should not be used in the EFI stub, since the code is
either included in the decompressor (x86, ARM) where they have no effect,
or the whole stub is __init annotated at the section level (arm64), by
renaming the sections.
In the second case the __init annotations will be redundant, and will
result in section names like .init.init.text, and our linker script does
not expect that.
So un-#define __init so that its inadvertent use will force a build error.
Signed-off-by: Ard Biesheuvel <[email protected]>
Signed-off-by: Matt Fleming <[email protected]>
Acked-by: Mark Rutland <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: [email protected]
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions