]> git.ipfire.org Git - thirdparty/kernel/stable.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 25 May 2019 16:16:20 +0000 (18:16 +0200)
commit5ac8e698528149bb1618111d64e22bd8bb784256
treea83a36703eb764ed4e062771e0d2100661f31ab2
parent7049b323c0646531647c285843b618f5d936041d
parisc: Allow live-patching of __meminit functions

commit d19a12906e5e558c0f6b6cfece7b7caf1012ef95 upstream.

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+
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/parisc/mm/init.c