aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_in.c
diff options
context:
space:
mode:
authorPeter Zijlstra <[email protected]>2022-03-08 16:30:49 +0100
committerPeter Zijlstra <[email protected]>2022-03-15 10:32:44 +0100
commit0e5b613b4d4be3345dda349fb90dd73d2103302f (patch)
tree8c6a02510634e7c0046ae8bf34a5763979dd3c61 /net/lapb/lapb_in.c
parent105cd68596392cfe15056a891b0723609dcad247 (diff)
objtool: Rework ASM_REACHABLE
Currently ASM_REACHABLE only works for UD2 instructions; reorder things to also allow over-riding dead_end_function(). To that end: - Mark INSN_BUG instructions in decode_instructions(), this saves having to iterate all instructions yet again. - Have add_call_destinations() set insn->dead_end for dead_end_function() calls. - Move add_dead_ends() *after* add_call_destinations() such that ASM_REACHABLE can clear the ->dead_end mark. - have validate_branch() only check ->dead_end. Signed-off-by: Peter Zijlstra (Intel) <[email protected]> Acked-by: Josh Poimboeuf <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions