diff options
| author | Josh Poimboeuf <[email protected]> | 2018-11-01 02:57:30 +0000 |
|---|---|---|
| committer | Thomas Gleixner <[email protected]> | 2018-11-01 08:55:38 +0000 |
| commit | bcb6fb5da77c2a228adf07cc9cb1a0c2aa2001c6 (patch) | |
| tree | c7e4dc982c044c5758ec2e2f25ade68fb64e9d67 /drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c | |
| parent | Merge tag 'tag-chrome-platform-for-v4.20' of git://git.kernel.org/pub/scm/lin... (diff) | |
| download | kernel-bcb6fb5da77c2a228adf07cc9cb1a0c2aa2001c6.tar.gz kernel-bcb6fb5da77c2a228adf07cc9cb1a0c2aa2001c6.zip | |
objtool: Support GCC 9 cold subfunction naming scheme
Starting with GCC 8, a lot of unlikely code was moved out of line to
"cold" subfunctions in .text.unlikely.
For example, the unlikely bits of:
irq_do_set_affinity()
are moved out to the following subfunction:
irq_do_set_affinity.cold.49()
Starting with GCC 9, the numbered suffix has been removed. So in the
above example, the cold subfunction is instead:
irq_do_set_affinity.cold()
Tweak the objtool subfunction detection logic so that it detects both
GCC 8 and GCC 9 naming schemes.
Reported-by: Peter Zijlstra (Intel) <[email protected]>
Signed-off-by: Josh Poimboeuf <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
Tested-by: Peter Zijlstra (Intel) <[email protected]>
Acked-by: Peter Zijlstra (Intel) <[email protected]>
Link: https://lkml.kernel.org/r/015e9544b1f188d36a7f02fa31e9e95629aa5f50.1541040800.git.jpoimboe@redhat.com
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c')
0 files changed, 0 insertions, 0 deletions
