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>
This commit is contained in:
Nicolas Pitre
2011-09-02 22:26:55 -04:00
committed by Nicolas Pitre
parent 48de58e34e
commit 0cdc8b921d
3 changed files with 24 additions and 41 deletions
+1 -1
View File
@@ -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