staging: binder: Fix ABI for 64bit Android
[deliverable/linux.git] / drivers / staging / android / ashmem.h
CommitLineData
11980c2a
RL
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>
e9f5b814 17#include <linux/compat.h>
11980c2a 18
fe8a78e4 19#include "uapi/ashmem.h"
11980c2a 20
e9f5b814
SC
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
11980c2a 27#endif /* _LINUX_ASHMEM_H */
This page took 0.179851 seconds and 5 git commands to generate.