]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/code-patching: Remove init_mem_is_free
authorChristophe Leroy <christophe.leroy@csgroup.eu>
Thu, 2 Dec 2021 12:00:18 +0000 (13:00 +0100)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 23 Dec 2021 11:35:24 +0000 (22:35 +1100)
commit1042c0b877122d5ae60ce91a892d1918381435d4
tree99678764ed14701a77caaf0129950e6abf0f2df7
parent37f180332ce6f823afb431018525834d46678510
powerpc/code-patching: Remove init_mem_is_free

A new state has been added by commit b696db7072b7 ("mm: create a new
system state and fix core_kernel_text()"). That state tells when
initmem is about to be released and is redundant with init_mem_is_free.

Remove init_mem_is_free.

Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/ad8c3ccb39c8edaa89fd3eda1cc7218baea1cde5.1638446239.git.christophe.leroy@csgroup.eu
arch/powerpc/include/asm/setup.h
arch/powerpc/lib/code-patching.c
arch/powerpc/mm/mem.c