From: Russell King Date: Thu, 25 Jun 2015 09:34:38 +0000 (+0100) Subject: ARM: fix DEBUG_SET_MODULE_RONX build dependencies X-Git-Tag: omap-for-v4.2/fixes-rc2-v2~34^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e6ae32c343981a50aa07c34767f2a967cc920edc;p=pandora-kernel.git ARM: fix DEBUG_SET_MODULE_RONX build dependencies randconfig testing reveals that DEBUG_SET_MODULE_RONX needs to depend on MMU otherwise these build errors are observed: kernel/built-in.o: In function `set_section_ro_nx': kernel/module.c:1738: undefined reference to `set_memory_nx' kernel/built-in.o: In function `set_page_attributes': kernel/module.c:1709: undefined reference to `set_memory_ro' This is because the pageattr functions are not built for !MMU configs as they don't have page tables. Signed-off-by: Russell King --- Reading git-diff-tree failed