Commit d89051f0 authored by Matthias Kaehlcke's avatar Matthias Kaehlcke Committed by Greg Hackmann
Browse files

UPSTREAM: x86/kbuild: Use cc-option to enable -falign-{jumps/loops}



clang currently does not support these optimizations, only enable them
when they are available.

Signed-off-by: default avatarMatthias Kaehlcke <mka@chromium.org>
Cc: Greg Hackmann <ghackmann@google.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Masahiro Yamada <yamada.masahiro@socionext.com>
Cc: Michael Davidson <md@google.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: grundler@chromium.org
Link: http://lkml.kernel.org/r/20170413172609.118122-1-mka@chromium.org


Signed-off-by: default avatarIngo Molnar <mingo@kernel.org>
(cherry picked from commit 2c4fd1ac)
parent 27836ce3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment