2 * include/linux/ashmem.h
4 * Copyright 2008 Google Inc.
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 */
23 #define COMPAT_ASHMEM_SET_SIZE _IOW(__ASHMEMIOC, 3, compat_size_t)
24 #define COMPAT_ASHMEM_SET_PROT_MASK _IOW(__ASHMEMIOC, 5, unsigned int)
27 #endif /* _LINUX_ASHMEM_H */