diff options
| author | Josh Poimboeuf <[email protected]> | 2019-05-13 17:01:31 +0000 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2019-05-13 18:31:17 +0000 |
| commit | e6da9567959e164f82bc81967e0d5b10dee870b4 (patch) | |
| tree | ff37fe29d3446f220a9a8fb5623dccf962670d53 /drivers/fpga/fpga-bridge.c | |
| parent | Merge branch 'linus' into core/urgent, to merge in dependent changes (diff) | |
| download | kernel-e6da9567959e164f82bc81967e0d5b10dee870b4.tar.gz kernel-e6da9567959e164f82bc81967e0d5b10dee870b4.zip | |
objtool: Don't use ignore flag for fake jumps
The ignore flag is set on fake jumps in order to keep
add_jump_destinations() from setting their jump_dest, since it already
got set when the fake jump was created.
But using the ignore flag is a bit of a hack. It's normally used to
skip validation of an instruction, which doesn't really make sense for
fake jumps.
Also, after the next patch, using the ignore flag for fake jumps can
trigger a false "why am I validating an ignored function?" warning.
Instead just add an explicit check in add_jump_destinations() to skip
fake jumps.
Signed-off-by: Josh Poimboeuf <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Link: http://lkml.kernel.org/r/71abc072ff48b2feccc197723a9c52859476c068.1557766718.git.jpoimboe@redhat.com
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-bridge.c')
0 files changed, 0 insertions, 0 deletions
