aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/x86/platform/intel-quark/imr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/platform/intel-quark/imr.c b/arch/x86/platform/intel-quark/imr.c
index c61b6c332e97..bfadcd0f4944 100644
--- a/arch/x86/platform/intel-quark/imr.c
+++ b/arch/x86/platform/intel-quark/imr.c
@@ -592,14 +592,14 @@ static void __init imr_fixup_memmap(struct imr_device *idev)
592 end = (unsigned long)__end_rodata - 1; 592 end = (unsigned long)__end_rodata - 1;
593 593
594 /* 594 /*
595 * Setup a locked IMR around the physical extent of the kernel 595 * Setup an unlocked IMR around the physical extent of the kernel
596 * from the beginning of the .text secton to the end of the 596 * from the beginning of the .text secton to the end of the
597 * .rodata section as one physically contiguous block. 597 * .rodata section as one physically contiguous block.
598 * 598 *
599 * We don't round up @size since it is already PAGE_SIZE aligned. 599 * We don't round up @size since it is already PAGE_SIZE aligned.
600 * See vmlinux.lds.S for details. 600 * See vmlinux.lds.S for details.
601 */ 601 */
602 ret = imr_add_range(base, size, IMR_CPU, IMR_CPU, true); 602 ret = imr_add_range(base, size, IMR_CPU, IMR_CPU, false);
603 if (ret < 0) { 603 if (ret < 0) {
604 pr_err("unable to setup IMR for kernel: %zu KiB (%lx - %lx)\n", 604 pr_err("unable to setup IMR for kernel: %zu KiB (%lx - %lx)\n",
605 size / 1024, start, end); 605 size / 1024, start, end);