summaryrefslogtreecommitdiff
path: root/arch/x86/platform
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2018-03-08 11:00:20 +0300
committerIngo Molnar <mingo@kernel.org>2018-03-09 11:30:35 +0300
commitf779ca740f25c8a6a72d951334f9efc3158a318b (patch)
treec8fb0775b44ba990299bdebb92aa45ab172b33e2 /arch/x86/platform
parent44612d7e0c379001460b37a29721128715bdcb02 (diff)
downloadlinux-f779ca740f25c8a6a72d951334f9efc3158a318b.tar.xz
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 <colin.king@canonical.com> Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: linux-efi@vger.kernel.org Link: http://lkml.kernel.org/r/20180308080020.22828-13-ard.biesheuvel@linaro.org Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'arch/x86/platform')
0 files changed, 0 insertions, 0 deletions