diff options
author | 2018-02-28 14:56:07 +0100 | |
---|---|---|
committer | 2018-03-24 14:27:48 +0000 | |
commit | ad43fc9aa24e9fc9ad780faad62fd78a09da839c (patch) | |
tree | 3c83dc6a165f19fa6b840a799fcdfd1cd6566090 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | ARM: 8746/1: vfp: Go back to clearing vfp_current_hw_state[] (diff) | |
download | linux-dev-ad43fc9aa24e9fc9ad780faad62fd78a09da839c.tar.xz linux-dev-ad43fc9aa24e9fc9ad780faad62fd78a09da839c.zip |
ARM: 8747/1: make CONFIG_DEBUG_WX depend on MMU
Without CONFIG_MMU, this results in a build failure:
./arch/arm/include/asm/memory.h:92:23: error: initializer element is not constant
#define VECTORS_BASE vectors_base
arch/arm/mm/dump.c:32:4: note: in expansion of macro 'VECTORS_BASE'
{ VECTORS_BASE, "Vectors" },
arch/arm/mm/dump.c:71:11: error: 'L_PTE_USER' undeclared here (not in a function); did you mean 'VTIME_USER'?
.mask = L_PTE_USER,
^~~~~~~~~~
Obviously the feature only makes sense with an MMU, so let's add the
dependency here.
Fixes: a8e53c151fe7 ("ARM: 8737/1: mm: dump: add checking for writable and executable")
Acked-by: Laura Abbott <labbott@redhat.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions