diff options
author | Arve Hjønnevåg <arve@android.com> | 2009-04-07 00:12:53 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-04-17 20:06:26 +0200 |
commit | 1d8cbcf5d66b1f23f776a2c10ef9574a338cd109 (patch) | |
tree | 38b8098ea09558ca9b2c9f54646db8ff1dd5e5b7 | |
parent | Staging: aten2011: Clean up some tty bits (diff) | |
download | linux-1d8cbcf5d66b1f23f776a2c10ef9574a338cd109.tar.xz linux-1d8cbcf5d66b1f23f776a2c10ef9574a338cd109.zip |
Staging: binder: Remove VM_EXEC check.
Many platforms do not support mappings without VM_EXEC.
Signed-off-by: Arve Hjønnevåg <arve@android.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
-rw-r--r-- | drivers/staging/android/binder.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/staging/android/binder.c b/drivers/staging/android/binder.c index 79e90fed27d3..b62cd2aae874 100644 --- a/drivers/staging/android/binder.c +++ b/drivers/staging/android/binder.c @@ -54,11 +54,7 @@ static int binder_read_proc_proc( #define SZ_4M 0x400000 #endif -#ifndef __i386__ -#define FORBIDDEN_MMAP_FLAGS (VM_WRITE | VM_EXEC) -#else #define FORBIDDEN_MMAP_FLAGS (VM_WRITE) -#endif #define BINDER_SMALL_BUF_SIZE (PAGE_SIZE * 64) |