summaryrefslogtreecommitdiffstats
path: root/arch/arm/include/asm
diff options
context:
space:
mode:
authorNicolas Pitre <nicolas.pitre@linaro.org>2011-09-02 22:26:55 -0400
committerNicolas Pitre <nico@fluxnic.net>2011-10-13 12:53:53 -0400
commit0cdc8b921d68817b687755b4f6ae20cd8ff1d026 (patch)
treee35b262f38cb39411ff8bce4db5eaf168b0be7b2 /arch/arm/include/asm
parent48de58e34ed379fa99d392a393b8d8343ab48515 (diff)
downloadtalos-op-linux-0cdc8b921d68817b687755b4f6ae20cd8ff1d026.tar.gz
talos-op-linux-0cdc8b921d68817b687755b4f6ae20cd8ff1d026.zip
ARM: switch from NO_MACH_MEMORY_H to NEED_MACH_MEMORY_H
Given that we want the default to not have any <mach/memory.h> and given that there are now fewer cases where it is still provided than the cases where it is not at this point, this makes sense to invert the logic and just identify the exception cases. The word "need" instead of "have" was chosen to construct the config symbol so not to suggest that having a mach/memory.h file is actually a feature that one should aim for. Signed-off-by: Nicolas Pitre <nicolas.pitre@linaro.org>
Diffstat (limited to 'arch/arm/include/asm')
-rw-r--r--arch/arm/include/asm/memory.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/include/asm/memory.h b/arch/arm/include/asm/memory.h
index 046c915694cd..a8997d71084e 100644
--- a/arch/arm/include/asm/memory.h
+++ b/arch/arm/include/asm/memory.h
@@ -18,7 +18,7 @@
#include <linux/types.h>
#include <asm/sizes.h>
-#ifndef CONFIG_NO_MACH_MEMORY_H
+#ifdef CONFIG_NEED_MACH_MEMORY_H
#include <mach/memory.h>
#endif
OpenPOWER on IntegriCloud