diff options
| author | Josh Poimboeuf <[email protected]> | 2017-04-18 21:44:29 +0000 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2017-04-19 07:57:23 +0000 |
| commit | a5859c6d7b6114fc0e52be40f7b0f5451c4aba93 (patch) | |
| tree | 185259ce56a5b6fa1c998e501b265551786c2844 /drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c | |
| parent | ftrace/x86: Fix triple fault with graph tracing and suspend-to-ram (diff) | |
| download | kernel-a5859c6d7b6114fc0e52be40f7b0f5451c4aba93.tar.gz kernel-a5859c6d7b6114fc0e52be40f7b0f5451c4aba93.zip | |
x86/build: convert function graph '-Os' error to warning
For pre-4.6.0 versions of GCC, which don't have '-mfentry', the
'-maccumulate-outgoing-args' option is required for function graph
tracing in order to avoid GCC bug 42109.
However, GCC ignores '-maccumulate-outgoing-args' when '-Os' is
also set.
Currently we force a build error to prevent that scenario, but that
breaks randconfigs. So change the error to a warning which also
disables CONFIG_CC_OPTIMIZE_FOR_SIZE.
Reported-by: Andi Kleen <[email protected]>
Signed-off-by: Josh Poimboeuf <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Steven Rostedt <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: kbuild test robot <[email protected]>
Cc: [email protected]
Link: http://lkml.kernel.org/r/20170418214429.o7fbwbmf4nqosezy@treble
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c')
0 files changed, 0 insertions, 0 deletions
