]> git.baikalelectronics.ru Git - kernel.git/commit
arm64: fixmap: make FIX_TEXT_POKE0 permanent
authorMark Rutland <mark.rutland@arm.com>
Wed, 4 Mar 2015 13:27:34 +0000 (13:27 +0000)
committerWill Deacon <will.deacon@arm.com>
Thu, 19 Mar 2015 10:43:56 +0000 (10:43 +0000)
commit73a90516acadc8d5e4d574e6a2610df662c3bb4b
tree6fea87198e9b91e25fac81f2ec0b600cbe62a545
parent44f203963436c4b0f6687b473611d5f19a477d0b
arm64: fixmap: make FIX_TEXT_POKE0 permanent

The FIX_TEXT_POKE0 is currently at the end of the temporary fixmap
slots, despite the fact that it can be used at any point during runtime
(e.g. for poking the text of loaded modules), and thus should be a
permanent fixmap slot (as is the case on arm and x86).

This patch moves FIX_TEXT_POKE0 into the set of permanent fixmap slots.

Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: Kees Cook <keescook@chromium.org>
Acked-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Acked-by: Laura Abbott <lauraa@codeaurora.org>
Signed-off-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm64/include/asm/fixmap.h