summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorShubhraprakash Das <sadas@codeaurora.org>2010-06-18 11:11:40 -0600
committerGregory Bergschneider <gbergsch@quicinc.com>2010-07-21 15:02:45 -0600
commit6b2b3b2da472341641163505fd807f4b6c259c89 (patch)
treeb410bba8e7b38ae9498f7cf96909d605e40dc1de
parent81c05ac2f01cc3b945f580080d868bf3ea9c5f93 (diff)
downloadbionic-6b2b3b2da472341641163505fd807f4b6c259c89.zip
bionic-6b2b3b2da472341641163505fd807f4b6c259c89.tar.gz
bionic-6b2b3b2da472341641163505fd807f4b6c259c89.tar.bz2
Add flush and clean ioctls to ashmem driver
Change-Id: If176b89e9eab7a1e98c962312c9213491879438b
-rw-r--r--libc/kernel/common/linux/ashmem.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libc/kernel/common/linux/ashmem.h b/libc/kernel/common/linux/ashmem.h
index a57d1de..38f9e8c 100644
--- a/libc/kernel/common/linux/ashmem.h
+++ b/libc/kernel/common/linux/ashmem.h
@@ -43,4 +43,7 @@ struct ashmem_pin {
#define ASHMEM_GET_PIN_STATUS _IO(__ASHMEMIOC, 9)
#define ASHMEM_PURGE_ALL_CACHES _IO(__ASHMEMIOC, 10)
+#define ASHMEM_CACHE_FLUSH_RANGE _IO(__ASHMEMIOC, 11)
+#define ASHMEM_CACHE_CLEAN_RANGE _IO(__ASHMEMIOC, 12)
+
#endif