summaryrefslogtreecommitdiffstats
path: root/arch/arm64/include/asm/fixmap.h
diff options
context:
space:
mode:
authorMark Rutland <mark.rutland@arm.com>2015-03-04 13:27:34 +0000
committerWill Deacon <will.deacon@arm.com>2015-03-19 10:43:56 +0000
commit19fc577579c86fec6e2523baeb457b02e939796f (patch)
tree6fea87198e9b91e25fac81f2ec0b600cbe62a545 /arch/arm64/include/asm/fixmap.h
parente6a2e1b6c24a3993ffbb69a05dda202d2830ad90 (diff)
downloadblackbird-op-linux-19fc577579c86fec6e2523baeb457b02e939796f.tar.gz
blackbird-op-linux-19fc577579c86fec6e2523baeb457b02e939796f.zip
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>
Diffstat (limited to 'arch/arm64/include/asm/fixmap.h')
-rw-r--r--arch/arm64/include/asm/fixmap.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm64/include/asm/fixmap.h b/arch/arm64/include/asm/fixmap.h
index defa0ff98250..926495686554 100644
--- a/arch/arm64/include/asm/fixmap.h
+++ b/arch/arm64/include/asm/fixmap.h
@@ -33,6 +33,7 @@
enum fixed_addresses {
FIX_HOLE,
FIX_EARLYCON_MEM_BASE,
+ FIX_TEXT_POKE0,
__end_of_permanent_fixed_addresses,
/*
@@ -49,7 +50,6 @@ enum fixed_addresses {
FIX_BTMAP_END = __end_of_permanent_fixed_addresses,
FIX_BTMAP_BEGIN = FIX_BTMAP_END + TOTAL_FIX_BTMAPS - 1,
- FIX_TEXT_POKE0,
__end_of_fixed_addresses
};
OpenPOWER on IntegriCloud