diff options
author | Richard Weinberger <richard@nod.at> | 2011-07-26 02:12:44 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-07-26 05:57:12 +0200 |
commit | 7213de044e11856f5c2aee0e43eff8dc507d421c (patch) | |
tree | 067513cfdc770448d9677bd69a385bb54b76ae38 /arch/um/sys-x86_64/mem.c | |
parent | cris, exec: remove redundant set_fs(USER_DS) (diff) | |
download | linux-7213de044e11856f5c2aee0e43eff8dc507d421c.tar.xz linux-7213de044e11856f5c2aee0e43eff8dc507d421c.zip |
um: clean up vm-flags.h
There is no need to define VM_{STACK,DATA}_DEFAULT_FLAGS as variable.
It's also useless to test for TIF_IA32 as 64bit UML has no IA32 emulation.
Signed-off-by: Richard Weinberger <richard@nod.at>
Acked-by: Randy Dunlap <rdunlap@xenotime.net>
Cc: Michal Hocko <mhocko@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/um/sys-x86_64/mem.c')
-rw-r--r-- | arch/um/sys-x86_64/mem.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/arch/um/sys-x86_64/mem.c b/arch/um/sys-x86_64/mem.c deleted file mode 100644 index 3f8df8abf347..000000000000 --- a/arch/um/sys-x86_64/mem.c +++ /dev/null @@ -1,16 +0,0 @@ -/* - * Copyright 2003 PathScale, Inc. - * - * Licensed under the GPL - */ - -#include "linux/mm.h" -#include "asm/page.h" -#include "asm/mman.h" - -unsigned long vm_stack_flags = __VM_STACK_FLAGS; -unsigned long vm_stack_flags32 = __VM_STACK_FLAGS; -unsigned long vm_data_default_flags = __VM_DATA_DEFAULT_FLAGS; -unsigned long vm_data_default_flags32 = __VM_DATA_DEFAULT_FLAGS; -unsigned long vm_force_exec32 = PROT_EXEC; - |