Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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

+2
+2
include/linux/mm.h
··· 114 114 # define VM_SAO VM_ARCH_1 /* Strong Access Ordering (powerpc) */ 115 115 #elif defined(CONFIG_PARISC) 116 116 # define VM_GROWSUP VM_ARCH_1 117 + #elif defined(CONFIG_METAG) 118 + # define VM_GROWSUP VM_ARCH_1 117 119 #elif defined(CONFIG_IA64) 118 120 # define VM_GROWSUP VM_ARCH_1 119 121 #elif !defined(CONFIG_MMU)