mirror of
https://github.com/team-infusion-developers/android_kernel_samsung_msm8976.git
synced 2024-10-31 18:09:19 +00:00
5268d5bbb1
Add get_ashmem_file and put_ashmem_file routines in ashmem driver to get and return file references to ashmem file from within the kernel. Change-Id: Ifbb54f7c1aab90f6d656a10a3c40ca2b65ceb89a Signed-off-by: Shubhraprakash Das <sadas@codeaurora.org>
21 lines
508 B
C
21 lines
508 B
C
/*
|
|
* include/linux/ashmem.h
|
|
*
|
|
* Copyright 2008 Google Inc.
|
|
* Author: Robert Love
|
|
*
|
|
* This file is dual licensed. It may be redistributed and/or modified
|
|
* under the terms of the Apache 2.0 License OR version 2 of the GNU
|
|
* General Public License.
|
|
*/
|
|
|
|
#ifndef _LINUX_ASHMEM_H
|
|
#define _LINUX_ASHMEM_H
|
|
|
|
#include <uapi/linux/ashmem.h>
|
|
|
|
int get_ashmem_file(int fd, struct file **filp, struct file **vm_file,
|
|
unsigned long *len);
|
|
void put_ashmem_file(struct file *file);
|
|
|
|
#endif /* _LINUX_ASHMEM_H */
|