Linux 4.2.1
[linux/fpc-iii.git] / drivers / staging / android / ashmem.h
blob5abcfd7aa706c37ac6c214323429bfbe6dfeff51
1 /*
2 * include/linux/ashmem.h
4 * Copyright 2008 Google Inc.
5 * Author: Robert Love
7 * This file is dual licensed. It may be redistributed and/or modified
8 * under the terms of the Apache 2.0 License OR version 2 of the GNU
9 * General Public License.
12 #ifndef _LINUX_ASHMEM_H
13 #define _LINUX_ASHMEM_H
15 #include <linux/limits.h>
16 #include <linux/ioctl.h>
17 #include <linux/compat.h>
19 #include "uapi/ashmem.h"
21 /* support of 32bit userspace on 64bit platforms */
22 #ifdef CONFIG_COMPAT
23 #define COMPAT_ASHMEM_SET_SIZE _IOW(__ASHMEMIOC, 3, compat_size_t)
24 #define COMPAT_ASHMEM_SET_PROT_MASK _IOW(__ASHMEMIOC, 5, unsigned int)
25 #endif
27 #endif /* _LINUX_ASHMEM_H */