diff options
author | Dima Zavin <dima@android.com> | 2009-07-16 00:16:10 -0700 |
---|---|---|
committer | Dima Zavin <dima@android.com> | 2009-08-05 00:09:06 -0700 |
commit | 0d1060f749aade019e03fa4400e5174ac27a4c30 (patch) | |
tree | ebd072bd786c7dd51b6b8a3512bb2eefb1c44fda /include | |
parent | ff08af1d4a7ce2168516d66b17ff698ad59a95c4 (diff) |
pmem: Expose is_pmem_file to the in-kernel users.
Signed-off-by: Dima Zavin <dima@android.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/android_pmem.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/android_pmem.h b/include/linux/android_pmem.h index bba03fc32a0a..8059c9db3b42 100644 --- a/include/linux/android_pmem.h +++ b/include/linux/android_pmem.h @@ -34,6 +34,7 @@ */ #define PMEM_GET_TOTAL_SIZE _IOW(PMEM_IOCTL_MAGIC, 7, unsigned int) +int is_pmem_file(struct file *file); int get_pmem_file(int fd, unsigned long *start, unsigned long *vstart, unsigned long *end, struct file **filp); int get_pmem_user_addr(struct file *file, unsigned long *start, |