summaryrefslogtreecommitdiffstats
path: root/arch/parisc/include/asm/patch.h
AgeCommit message (Collapse)AuthorFilesLines
2019-06-08parisc: add support for patching multiple wordsSven Schnelle1-1/+3
add patch_text_multiple() which allows to patch multiple text words in memory. This can be used to copy functions. Signed-off-by: Sven Schnelle <svens@stackframe.org> Signed-off-by: Helge Deller <deller@gmx.de>
2019-05-03parisc: add parisc code patchingSven Schnelle1-0/+11
Instead of re-mapping the whole kernel text with RWX rights add a patch_text() which can be used to replace instructions in the kernel .text section. Based on the ARM implementation. Signed-off-by: Sven Schnelle <svens@stackframe.org> Signed-off-by: Helge Deller <deller@gmx.de>