staging: binder: Fix ABI for 64bit Android
[deliverable/linux.git] / drivers / staging / android / ashmem.h
1 /*
2 * include/linux/ashmem.h
3 *
4 * Copyright 2008 Google Inc.
5 * Author: Robert Love
6 *
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.
10 */
11
12 #ifndef _LINUX_ASHMEM_H
13 #define _LINUX_ASHMEM_H
14
15 #include <linux/limits.h>
16 #include <linux/ioctl.h>
17 #include <linux/compat.h>
18
19 #include "uapi/ashmem.h"
20
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
26
27 #endif /* _LINUX_ASHMEM_H */
This page took 0.030713 seconds and 5 git commands to generate.