aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Hogan <james.hogan@imgtec.com>2012-10-16 05:16:14 -0400
committerJames Hogan <james.hogan@imgtec.com>2013-03-02 15:09:53 -0500
commit9ca52ed979b6b45ae480a5fc56d593efb3bf16e8 (patch)
treeebf6aa82302ad45b22b95f2e5163897c1b1d4db4
parent1e57372eaccdd5959b8ae00bf99aa10d330f207d (diff)
mm: define VM_GROWSUP for CONFIG_METAG
Commit cc2383ec06be093789469852e1fe96e1148e9a2c ("mm: introduce arch-specific vma flag VM_ARCH_1") merged in v3.7-rc1. The above commit combined several arch-specific vma flags into one, and in the process it changed the VM_GROWSUP definition to depend on specific architectures rather than CONFIG_STACK_GROWSUP. Therefore add an ifdef for CONFIG_METAG to also set VM_GROWSUP. Signed-off-by: James Hogan <james.hogan@imgtec.com> Cc: Konstantin Khlebnikov <khlebnikov@openvz.org> Cc: Andrew Morton <akpm@linux-foundation.org> Cc: Mel Gorman <mgorman@suse.de> Cc: Michel Lespinasse <walken@google.com> Cc: Al Viro <viro@zeniv.linux.org.uk> Cc: linux-mm@kvack.org
-rw-r--r--include/linux/mm.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/mm.h b/include/linux/mm.h
index 66e2f7c61e5c..44ac3dc363e7 100644
--- a/include/linux/mm.h
+++ b/include/linux/mm.h
@@ -114,6 +114,8 @@ extern unsigned int kobjsize(const void *objp);
114# define VM_SAO VM_ARCH_1 /* Strong Access Ordering (powerpc) */ 114# define VM_SAO VM_ARCH_1 /* Strong Access Ordering (powerpc) */
115#elif defined(CONFIG_PARISC) 115#elif defined(CONFIG_PARISC)
116# define VM_GROWSUP VM_ARCH_1 116# define VM_GROWSUP VM_ARCH_1
117#elif defined(CONFIG_METAG)
118# define VM_GROWSUP VM_ARCH_1
117#elif defined(CONFIG_IA64) 119#elif defined(CONFIG_IA64)
118# define VM_GROWSUP VM_ARCH_1 120# define VM_GROWSUP VM_ARCH_1
119#elif !defined(CONFIG_MMU) 121#elif !defined(CONFIG_MMU)