diff options
author | Arve Hjønnevåg <arve@android.com> | 2009-04-06 18:12:53 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-04-17 14:06:26 -0400 |
commit | 1d8cbcf5d66b1f23f776a2c10ef9574a338cd109 (patch) | |
tree | 38b8098ea09558ca9b2c9f54646db8ff1dd5e5b7 | |
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>
-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( | |||
54 | #define SZ_4M 0x400000 | 54 | #define SZ_4M 0x400000 |
55 | #endif | 55 | #endif |
56 | 56 | ||
57 | #ifndef __i386__ | ||
58 | #define FORBIDDEN_MMAP_FLAGS (VM_WRITE | VM_EXEC) | ||
59 | #else | ||
60 | #define FORBIDDEN_MMAP_FLAGS (VM_WRITE) | 57 | #define FORBIDDEN_MMAP_FLAGS (VM_WRITE) |
61 | #endif | ||
62 | 58 | ||
63 | #define BINDER_SMALL_BUF_SIZE (PAGE_SIZE * 64) | 59 | #define BINDER_SMALL_BUF_SIZE (PAGE_SIZE * 64) |
64 | 60 | ||