Merge branch 'asoc-5.2' into asoc-linus
[linux-2.6-block.git] / drivers / staging / android / ashmem.h
CommitLineData
a81403c4 1/* SPDX-License-Identifier: GPL-2.0 OR Apache-2.0 */
11980c2a
RL
2/*
3 * include/linux/ashmem.h
4 *
5 * Copyright 2008 Google Inc.
6 * Author: Robert Love
11980c2a
RL
7 */
8
9#ifndef _LINUX_ASHMEM_H
10#define _LINUX_ASHMEM_H
11
12#include <linux/limits.h>
13#include <linux/ioctl.h>
e9f5b814 14#include <linux/compat.h>
11980c2a 15
fe8a78e4 16#include "uapi/ashmem.h"
11980c2a 17
e9f5b814
SC
18/* support of 32bit userspace on 64bit platforms */
19#ifdef CONFIG_COMPAT
20#define COMPAT_ASHMEM_SET_SIZE _IOW(__ASHMEMIOC, 3, compat_size_t)
21#define COMPAT_ASHMEM_SET_PROT_MASK _IOW(__ASHMEMIOC, 5, unsigned int)
22#endif
23
11980c2a 24#endif /* _LINUX_ASHMEM_H */