lkml.org 
[lkml]   [2015]   [Oct]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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@linux-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@rab.in>

Thanks.


\
 
 \ /
  Last update: 2015-10-26 18:41    [W:0.203 / U:0.120 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site