summaryrefslogtreecommitdiffstats
path: root/arch/parisc/include/asm/patch.h
Commit message (Collapse)AuthorAgeFilesLines
* parisc: add support for patching multiple wordsSven Schnelle2019-06-081-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>
* parisc: add parisc code patchingSven Schnelle2019-05-031-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>