+1
−0
arch/xtensa/include/asm/jump_label.h
0 → 100644
+65
−0
arch/xtensa/kernel/jump_label.c
0 → 100644
+99
−0
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
Use 3-byte 'nop' and 'j' instructions that are always present. Don't let
assembler mark a spot right after patchable 'j' instruction as
unreachable and later put literals or padding bytes there. Add separate
implementations of patch_text for SMP and UP cases, avoiding use of
atomics on UP.
Signed-off-by:
Max Filippov <jcmvbkbc@gmail.com>