diff options
author | Laura Abbott <lauraa@codeaurora.org> | 2012-03-04 00:42:28 +0100 |
---|---|---|
committer | Giulio Cervera <giulio.cervera@gmail.com> | 2012-03-04 01:34:02 +0100 |
commit | 43b0306d9af85bdb976bbcbc54848ec021a31b8d (patch) | |
tree | 6f34e31225b6b54ca82621f9f730e8c5a61c9706 /libs | |
parent | 7c36193fd9484a1651cea9f1b0c1759a4d5b1835 (diff) | |
download | frameworks_base-43b0306d9af85bdb976bbcbc54848ec021a31b8d.zip frameworks_base-43b0306d9af85bdb976bbcbc54848ec021a31b8d.tar.gz frameworks_base-43b0306d9af85bdb976bbcbc54848ec021a31b8d.tar.bz2 |
binder: Get rid of old flag
MAP_LOCKED_MAP_POPULATE is an outdated flag that is not used
anymore. Get rid of this flag in MemoryHeapIon
Diffstat (limited to 'libs')
-rw-r--r-- | libs/binder/MemoryHeapIon.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libs/binder/MemoryHeapIon.cpp b/libs/binder/MemoryHeapIon.cpp index 7523b7b9..46d0707 100644 --- a/libs/binder/MemoryHeapIon.cpp +++ b/libs/binder/MemoryHeapIon.cpp @@ -89,8 +89,7 @@ status_t MemoryHeapIon::mapIonFd(int fd, size_t size, unsigned long memory_type, } if ((uflags & DONT_MAP_LOCALLY) == 0) { - int flags = (uflags & MAP_LOCKED_MAP_POPULATE) ? - MAP_POPULATE|MAP_LOCKED : 0; + int flags = 0; fd_data.handle = data.handle; |