diff options
author | Colin Ian King <[email protected]> | 2018-03-08 08:00:20 +0000 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2018-03-09 09:30:35 +0100 |
commit | f779ca740f25c8a6a72d951334f9efc3158a318b (patch) | |
tree | c8fb0775b44ba990299bdebb92aa45ab172b33e2 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 44612d7e0c379001460b37a29721128715bdcb02 (diff) |
efi: Make const array 'apple' static
Don't populate the const read-only array 'buf' on the stack but instead
make it static. Makes the object code smaller by 64 bytes:
Before:
text data bss dec hex filename
9264 1 16 9281 2441 arch/x86/boot/compressed/eboot.o
After:
text data bss dec hex filename
9200 1 16 9217 2401 arch/x86/boot/compressed/eboot.o
(GCC version 7.2.0 x86_64)
Signed-off-by: Colin Ian King <[email protected]>
Signed-off-by: Ard Biesheuvel <[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/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions