mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-27 19:29:37 +00:00
![Colin Cross](/assets/img/avatar_default.png)
Move the userspace interface of ashmem.h to drivers/staging/android/uapi/ashmem.h Cc: Greg KH <gregkh@linuxfoundation.org> Cc: Colin Cross <ccross@android.com> Cc: Android Kernel Team <kernel-team@android.com> Signed-off-by: Colin Cross <ccross@android.com> [jstultz: Minor commit message tweak] Signed-off-by: John Stultz <john.stultz@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
27 lines
663 B
C
27 lines
663 B
C
/*
|
|
* include/linux/ashmem.h
|
|
*
|
|
* Copyright 2008 Google Inc.
|
|
* Author: Robert Love
|
|
*
|
|
* This file is dual licensed. It may be redistributed and/or modified
|
|
* under the terms of the Apache 2.0 License OR version 2 of the GNU
|
|
* General Public License.
|
|
*/
|
|
|
|
#ifndef _LINUX_ASHMEM_H
|
|
#define _LINUX_ASHMEM_H
|
|
|
|
#include <linux/limits.h>
|
|
#include <linux/ioctl.h>
|
|
#include <linux/compat.h>
|
|
|
|
#include "uapi/ashmem.h"
|
|
|
|
/* support of 32bit userspace on 64bit platforms */
|
|
#ifdef CONFIG_COMPAT
|
|
#define COMPAT_ASHMEM_SET_SIZE _IOW(__ASHMEMIOC, 3, compat_size_t)
|
|
#define COMPAT_ASHMEM_SET_PROT_MASK _IOW(__ASHMEMIOC, 5, unsigned int)
|
|
#endif
|
|
|
|
#endif /* _LINUX_ASHMEM_H */
|