Commit 764eef4
objtool: Rewrite alt->skip_orig
Really skip the original instruction flow, instead of letting it
continue with NOPs.
Since the alternative code flow already continues after the original
instructions, only the alt-original is skipped.
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Acked-by: Josh Poimboeuf <jpoimboe@redhat.com>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@kernel.org>1 parent 7697eee commit 764eef4
1 file changed
+10
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| 34 | + | |
34 | 35 | | |
35 | 36 | | |
36 | 37 | | |
| |||
623 | 624 | | |
624 | 625 | | |
625 | 626 | | |
626 | | - | |
627 | | - | |
628 | | - | |
629 | 627 | | |
630 | 628 | | |
631 | 629 | | |
| |||
641 | 639 | | |
642 | 640 | | |
643 | 641 | | |
644 | | - | |
645 | | - | |
646 | | - | |
647 | 642 | | |
648 | 643 | | |
649 | 644 | | |
| |||
808 | 803 | | |
809 | 804 | | |
810 | 805 | | |
| 806 | + | |
811 | 807 | | |
812 | 808 | | |
813 | 809 | | |
| |||
1883 | 1879 | | |
1884 | 1880 | | |
1885 | 1881 | | |
| 1882 | + | |
| 1883 | + | |
1886 | 1884 | | |
| 1885 | + | |
| 1886 | + | |
| 1887 | + | |
1887 | 1888 | | |
1888 | 1889 | | |
1889 | 1890 | | |
1890 | 1891 | | |
1891 | 1892 | | |
1892 | 1893 | | |
1893 | 1894 | | |
| 1895 | + | |
| 1896 | + | |
| 1897 | + | |
1894 | 1898 | | |
1895 | 1899 | | |
1896 | 1900 | | |
| |||
0 commit comments