summaryrefslogtreecommitdiffstats
path: root/include/uapi
diff options
context:
space:
mode:
authorAnuj Gangwar <anujg@nvidia.com>2019-02-28 02:33:26 -0500
committermobile promotions <svcmobile_promotions@nvidia.com>2019-05-03 16:42:39 -0400
commit79b98b138b63dc6edd104372b3a6eb0deb976bc8 (patch)
treee360c4d09e01869d5f09ede6148464ef1fec0160 /include/uapi
parent0bb6bca7d524bb734448031758b13437a7042678 (diff)
include: uapi: move nvhvivc_mempool_ioctl.h file
Move nvhvivc_mempool_ioctl header file from include/linux/ to include/uapi/linux/. Change the path for above header in the dependent file. Bug 2062672 Change-Id: I3120e2d5aeb61be891709dc04193a87e6784df0d Signed-off-by: Anuj Gangwar <anujg@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/2029838 (cherry picked from commit 7abd341a471f870a8cfac1641c0e81f91a3f8ea3) Reviewed-on: https://git-master.nvidia.com/r/2109962 GVS: Gerrit_Virtual_Submit Reviewed-by: Bibek Basu <bbasu@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'include/uapi')
-rw-r--r--include/uapi/linux/nvhvivc_mempool_ioctl.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/include/uapi/linux/nvhvivc_mempool_ioctl.h b/include/uapi/linux/nvhvivc_mempool_ioctl.h
new file mode 100644
index 000000000..1d1969e56
--- /dev/null
+++ b/include/uapi/linux/nvhvivc_mempool_ioctl.h
@@ -0,0 +1,30 @@
1/*
2 * nvhvivc_mempool_ioctl.h
3 *
4 * Declarations for Tegra Hypervisor ivc mempool driver ioctls
5 *
6 * Copyright (c) 2016-2019 NVIDIA CORPORATION. All rights reserved.
7 *
8 * This file is licensed under the terms of the GNU General Public License
9 * version 2. This program is licensed "as is" without any warranty of any
10 * kind, whether express or implied.
11 *
12 */
13#ifndef __UAPI_NVHVIVC_MEMPOOL_IOCTL_H__
14#define __UAPI_NVHVIVC_MEMPOOL_IOCTL_H__
15
16#include <uapi/linux/ioctl.h>
17
18/* ivc mempool IOCTL magic number */
19#define TEGRA_MPLUSERSPACE_IOCTL_MAGIC 0xA6
20
21
22/* IOCTL definitions */
23
24/* query ivc mempool configuration data */
25#define TEGRA_MPLUSERSPACE_IOCTL_GET_INFO \
26 _IOR(TEGRA_MPLUSERSPACE_IOCTL_MAGIC, 1, struct ivc_mempool)
27
28#define TEGRA_MPLUSERSPACE_IOCTL_NUMBER_MAX 1
29
30#endif /* __UAPI_NVHVIVC_MEMPOOL_IOCTL_H__ */