From 0d1060f749aade019e03fa4400e5174ac27a4c30 Mon Sep 17 00:00:00 2001 From: Dima Zavin Date: Thu, 16 Jul 2009 00:16:10 -0700 Subject: pmem: Expose is_pmem_file to the in-kernel users. Signed-off-by: Dima Zavin --- include/linux/android_pmem.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include') 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, -- cgit v1.2.3