[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20151026171750.GA30888@debian>
Date: Mon, 26 Oct 2015 18:17:50 +0100
From: Rabin Vincent <rabin@....in>
To: Geert Uytterhoeven <geert@...ux-m68k.org>
Cc: Russell King <linux@....linux.org.uk>,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] arm: Omit fixmap calls in text patching code if
CONFIG_MMU=n
On Mon, Oct 26, 2015 at 08:54:52AM +0100, Geert Uytterhoeven wrote:
> Protect the calls to set_fixmap() and clear_fixmap() by #ifdef >
> CONFIG_MMU to fix this.
>
> Fixes: commit ab0615e2d6fb0747 ("arm: use fixmap for text patching when text is RO")
> Signed-off-by: Geert Uytterhoeven <geert@...ux-m68k.org>
Since both DEBUG_SET_MODULE_RONX and DEBUG_RODATA depend on MMU, we'll
never get to this code on !MMU so this ifdef build fix should be ok.
Acked-by: Rabin Vincent <rabin@....in>
Thanks.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists