diff options
author | Arve Hjønnevåg <arve@android.com> | 2009-04-06 15:12:53 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-04-17 11:06:26 -0700 |
commit | 1d8cbcf5d66b1f23f776a2c10ef9574a338cd109 (patch) | |
tree | 38b8098ea09558ca9b2c9f54646db8ff1dd5e5b7 /drivers | |
parent | 20aa9e9b5465a2566e23d78643735dfae3277dab (diff) |
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>
Diffstat (limited to 'drivers')
-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 79e90fed27d..b62cd2aae87 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) |