]> asedeno.scripts.mit.edu Git - linux.git/commit
parisc: Allow live-patching of __meminit functions
authorHelge Deller <deller@gmx.de>
Wed, 1 May 2019 12:59:58 +0000 (14:59 +0200)
committerHelge Deller <deller@gmx.de>
Fri, 3 May 2019 21:47:40 +0000 (23:47 +0200)
commitd19a12906e5e558c0f6b6cfece7b7caf1012ef95
tree3bacdc4ac6c5bf8cbad2e904b5d92c71a86f5a96
parent2d94a832e246ac00fd32eec241e6f1aa6fbc5700
parisc: Allow live-patching of __meminit functions

When making the text sections writeable with set_kernel_text_rw(1),
include all text sections including those in the __init section.
Otherwise functions marked with __meminit will stay read-only.

Signed-off-by: Helge Deller <deller@gmx.de>
Cc: <stable@vger.kernel.org> # 4.20+
arch/parisc/mm/init.c