summaryrefslogtreecommitdiffstats
path: root/arch/parisc/kernel/Makefile
diff options
context:
space:
mode:
authorSven Schnelle <svens@stackframe.org>2019-04-04 21:14:09 +0200
committerHelge Deller <deller@gmx.de>2019-05-03 23:47:38 +0200
commit620a53d522ba007a79fffc444bd75e8d3775f5b8 (patch)
treec2931055351578f8912c41f629d44c500bba7fde /arch/parisc/kernel/Makefile
parentccfbc68d41c2db8f5e88128427fb5bfe3855ff9b (diff)
parisc: add parisc code patching
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>
Diffstat (limited to 'arch/parisc/kernel/Makefile')
-rw-r--r--arch/parisc/kernel/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/parisc/kernel/Makefile b/arch/parisc/kernel/Makefile
index 8e5f1ab65c68..d29bbd1a73b2 100644
--- a/arch/parisc/kernel/Makefile
+++ b/arch/parisc/kernel/Makefile
@@ -9,7 +9,8 @@ obj-y := cache.o pacache.o setup.o pdt.o traps.o time.o irq.o \
pa7300lc.o syscall.o entry.o sys_parisc.o firmware.o \
ptrace.o hardware.o inventory.o drivers.o alternative.o \
signal.o hpmc.o real2.o parisc_ksyms.o unaligned.o \
- process.o processor.o pdc_cons.o pdc_chassis.o unwind.o
+ process.o processor.o pdc_cons.o pdc_chassis.o unwind.o \
+ patch.o
ifdef CONFIG_FUNCTION_TRACER
# Do not profile debug and lowlevel utilities