[PATCH] x86/mm/kaiser: Fix IRQ entries text section mapping
From: Ingo Molnar
Date: Sat Nov 25 2017 - 06:10:38 EST
Backmerge to:
f9e7e52fa076: x86/mm/kaiser: Unmap kernel from userspace page tables (core patch)
Signed-off-by: Ingo Molnar <mingo@xxxxxxxxxx>
---
arch/x86/mm/kaiser.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/x86/mm/kaiser.c b/arch/x86/mm/kaiser.c
index 1eb27b410556..ea8887bf550a 100644
--- a/arch/x86/mm/kaiser.c
+++ b/arch/x86/mm/kaiser.c
@@ -412,6 +412,8 @@ void __init kaiser_init(void)
kaiser_add_user_map_ptrs_early(__entry_text_start, __entry_text_end,
__PAGE_KERNEL_RX | _PAGE_GLOBAL);
+ kaiser_add_user_map_ptrs_early(__irqentry_text_start, __irqentry_text_end,
+ __PAGE_KERNEL_RX | _PAGE_GLOBAL);
/* the fixed map address of the idt_table */
kaiser_add_user_map_early((void *)idt_descr.address,