xref: /openbmc/linux/arch/x86/um/asm/vm-flags.h (revision c62da0c3)
15c48b108SAl Viro /*
25c48b108SAl Viro  * Copyright (C) 2004 Jeff Dike (jdike@addtoit.com)
35c48b108SAl Viro  * Copyright 2003 PathScale, Inc.
45c48b108SAl Viro  * Licensed under the GPL
55c48b108SAl Viro  */
65c48b108SAl Viro 
75c48b108SAl Viro #ifndef __VM_FLAGS_X86_H
85c48b108SAl Viro #define __VM_FLAGS_X86_H
95c48b108SAl Viro 
105c48b108SAl Viro #ifdef CONFIG_X86_32
115c48b108SAl Viro 
12c62da0c3SAnshuman Khandual #define VM_DATA_DEFAULT_FLAGS	VM_DATA_FLAGS_TSK_EXEC
135c48b108SAl Viro 
145c48b108SAl Viro #else
155c48b108SAl Viro 
16c62da0c3SAnshuman Khandual #define VM_STACK_DEFAULT_FLAGS (VM_GROWSDOWN | VM_DATA_FLAGS_EXEC)
175c48b108SAl Viro 
185c48b108SAl Viro #endif
195c48b108SAl Viro #endif
20